else return 0;
return 0;
    private float calculatePressure(float pNumberOfMoles) {        if (currentVolume > 0)            return (pNumberOfMoles * idealGasConstant * (temperature + 273f))                    / currentVolume;        else            return 0;    }