toLong

open override fun toLong(unit: FuelConsumption.Unit): Long

Expresses the value of this under the given unit as a Long.