i, f = math.modf (v)
Returns two numbers, the integral part of v and the fractional part of v math.modf (10.2) --> 10 0.2
math.modf (10.2) --> 10 0.2