toBase

open fun toBase(toBase: UnaryFunction): UnitBuilder<U>

Sets the conversion function to transform values in the derived unit to values in the base unit.

Return

the unit builder, for continued chaining

Parameters

toBase

the conversion function