jrobertdahl / CAS502-project

Repo for emissions calculator project
MIT License
0 stars 0 forks source link

In average american emission comparison, show result in terms of months if less than one year #9

Closed scm929 closed 4 months ago

scm929 commented 4 months ago

Currently, if it would take an average American less than one year to emit the same amount as a jet trip, it's shown as 0.xxxxxxxxxxxx years. Instead, I want to round to the nearest number of months. If t >1 year, I want to limit the number of decimal places to 2.