convertFromMeters

fun Float.convertFromMeters(toUnit: LengthUnit): Float

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

Return

the converted LengthUnit value

Parameters

toUnit

LengthUnit, the unit of the result.