Update measurement.js

This commit is contained in:
Michael Woods 2022-06-22 20:51:20 -04:00 committed by GitHub
parent 37e294330f
commit b6812d377b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@ class Measurement {
case 'km/l(e)':
// km/L = (1.609344 / 3.785411784) * MPG
value = _.round(value / (1.609344 / 3.785411784), 1);
break;
case 'lit':
value = _.round(value / 3.785411784, 1);
break;