fromBase

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

Return

the unit builder, for continued chaining

Parameters

fromBase

the conversion function