tripkit-android / com.skedgo.tripkit.a2brouting / kotlin.Int / toProfileWeight

toProfileWeight

funInt.toProfileWeight():Float

Weight values are stored in app as a value in range 0-100. The server expects weights between 0.1 and 2.0. So we convert them.

Receiver Value must be in range of 0 to 100.

Return Corresponding value between 0.1 - 2.0.