}
if (pressure && output_units.volume == CUFT) {
- volume = cuft_to_ml(volume);
+ volume = cuft_to_l(volume);
volume /= bar_to_atm(pressure);
}
/* Is it in cuft and psi? */
if (psi) {
double bar = psi_to_bar(psi);
- double airvolume = cuft_to_ml(size);
+ double airvolume = cuft_to_l(size) * 1000.0;
double atm = bar_to_atm(bar);
ml = airvolume / atm + 0.5;