FP(X)
The FP internal function returns the fractional part of X.
00010 print FP(3.1) 00020 print FP(-3.1)
Output:
0.1 -0.1