toBaseUnits

open fun toBaseUnits(valueInNativeUnits: Double): Double

Converts a value in terms of this unit to a value in terms of the base unit.

Return

the equivalent value in terms of the base unit

Parameters

valueInNativeUnits

the value in terms of this unit to convert