FuelConsumption
A quantity describing fuel consumption. (For example, 5 liters per 100 kilometers.)
Important: This is a Public Preview API. It may be changed or removed at any time.
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.
Returns a FormattedQuantity representation of the value from this with the given unit.
Expresses the FuelConsumption's value in liters per 100 kilometers.
Expresses the FuelConsumption's value in milliliters per 100 kilometers.
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 new instance with the value from this as negative.