format

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

Parameters

unit

The units U to be used for the given type.