split Into
Helper for defining units that are a scalar fraction of the base unit, such as centimeters being 1/100th of the base unit (meters). The fraction value is specified as the denominator of the fraction, so a centimeter definition would use splitInto(100)
instead of
splitInto(1/100.0)
.
Return
the unit builder, for continued chaining
Parameters
fraction
the denominator portion of the fraction of the base unit that a value of 1 in the derived unit corresponds to