lengthToDp

abstract fun lengthToDp(length: Float, lengthUnit: LengthUnit): Dp

Converts a Float LengthUnit value to Dp.

Return

the value of Dp