One of the library is accepting only float value, so i am trying to convert integer value to float value in kotlin using toFloat() function. But it is giving nearest value and not the exact value. Official documentation also says
Returns the value of this number as a Float, which may involve rounding.
I am trying to convert 105312355 to Float, which is giving me 1.05312352E8. If i reverse calculate float to integer it is giving me 105312352.
So, how do i force to calculate correct value.