convertFromMeters

fun Float.convertFromMeters(toUnit: LengthUnit): Float

Converts to the LengthUnit value from a LengthUnit.Meters value.

Return

The converted LengthUnit value.

Parameters

toUnit

LengthUnit, the unit of the result.