DistanceConversionInfo

constructor(step: Double, outputUnit: Distance.Unit, skipDecimalPointIfWholeNumber: Boolean = false)

Parameters

step

Describes the conversion precision.

outputUnit

Defines the output unit for a given DistanceFormattingRange.

skipDecimalPointIfWholeNumber

Defines if a formatter should omit the decimal point for a given range. If set to true values such as 1.0 would be formatted as 1.