format

open override fun format(unit: Ratio.Unit): Quantity.FormattedQuantity

Returns a FormattedQuantity representation of the value from this in the given unit.

Parameters

unit

The units U to be used for the given type.