Update measurement.js
This commit is contained in:
parent
37e294330f
commit
b6812d377b
@ -69,6 +69,7 @@ class Measurement {
|
|||||||
case 'km/l(e)':
|
case 'km/l(e)':
|
||||||
// km/L = (1.609344 / 3.785411784) * MPG
|
// km/L = (1.609344 / 3.785411784) * MPG
|
||||||
value = _.round(value / (1.609344 / 3.785411784), 1);
|
value = _.round(value / (1.609344 / 3.785411784), 1);
|
||||||
|
break;
|
||||||
case 'lit':
|
case 'lit':
|
||||||
value = _.round(value / 3.785411784, 1);
|
value = _.round(value / 3.785411784, 1);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user