DISTANCE

Formats distance amounts in centimetres to distance amounts in other metric units.

This follows the following condition chain:

  • If kilometres is 0.5, uses the kilometres part with the " km" suffix

  • If metres is 0.5, uses the metres part with the " m" suffix

  • Else, uses the value with the " cm" suffix