Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (typeof(mass) != 'undefined') {
- co2 = mass * mass_co2_per_mass;
- } else if (typeof(volume) != 'undefined') {
- co2 = volume * density * mass_co2_per_mass;
- } else {
- co2 = energy / heating_value * mass_co2_per_mass;
- }
Add Comment
Please, Sign In to add comment