Distance
A quantity describing a distance. (For example, 10 kilometers.)
Important: This is a Public Preview API. It may be changed or removed at any time.
Types
Functions
Expresses the distance's value in centimeters.
Expresses the distance's value in kilometers.
Expresses the distance's value in millimeters.
Expresses the distance's value in centimeters.
Expresses the distance's value in feet.
Expresses the distance's value in inches.
Expresses the distance's value in kilometers.
Expresses the distance's value in meters.
Expresses the distance's value in miles.
Expresses the distance's value in millimeters.
Expresses the distance's value in yards.
Returns a string representation for the value from this
with the given unit. Depending on decimalsMode, it will show either exactly or at most decimals amount of decimals after the separator. The unit will be suffixed depending on suffixMode.
Returns a new instance with the value from this
as negative.