Returns true if both quantities are equal after conversion to base units.
Writes the quantity as text. With a unit, it converts to that unit first.
Optionalunit: stringReturns true if the unit is a base unit.
Returns true if the other quantity can convert to this unit.
Converts to base units.
Writes the quantity as text. A unit or a number of decimals changes the output.
Optionalunit: string | numberGives the unit as text, for example m/s.
The part of a js-quantities
Qtythat Millwork uses and types. Each method gives a newQty.