UnitNum extension

on

Methods

asMeasure<D extends Dimension>(Unit<D> unit) Measure<D>

Available on num, provided by the UnitNum extension

Creates a measure object using current number and unit given
unitConvert<D extends Dimension>(Unit<D> from, Unit<D> to) num

Available on num, provided by the UnitNum extension

Converts this number from a unit to another