FuelConsumption
A quantity describing the fuel consumption. (For example, 5 liters per 100 kilometers.)
Types
Functions
Returns a new instance with the value from this
as absolute value.
Returns a new instance with the value from this
divided by divisor.
Expresses the fuel consumption in liters per 100 kilometers.
Expresses the fuel consumption in milliliters per 100 kilometers.
Expresses the fuel consumption in liters per 100 kilometers rounded down.
Expresses the fuel consumption in milliliters per 100 kilometers rounded down.
Returns a new instance that has other's value subtracted from this
.
Returns a new instance with a value equal to the sum of values from this
and other.
Returns a new instance with the value from this
multiplied by factor.
Returns a string representation for the value from this
with the given unit. Depending on decimalsMode, it will show either exactly or at most decimals amount of decimals after the separator. The unit will be suffixed depending on suffixMode.
Returns a new instance with the value from this
as negative.