The quantity of the unit.
The unit.
Join the quantity and the unit together in a string. This method is automatically called when casting this object to a string, meaning you can safely do things like concatenate the object with a string.
Optional toFixed: numberThe number of decimal places to include in the string.
The result will be padded with zeros if necessary.
Providing undefined will use the original number of decimal places.
Providing 0 will round the number to the nearest integer.
This option is ignored when converting bigints.
Generated using TypeDoc
The return value from converting a unit to
'best'.