Main sections
INTEGER()
a%=INTEGER(b#)
The INTEGER command cuts off any fractional component from a number. Depending on the number format in your country, this could either be the part after the full-stop, or the comma.
e.g.
INTEGER(2,000,000.01) = 2000000
INTEGER(2.000.000,01) = 2000000
INTEGER(2000000.01) = 2000000
// INTEGER() Demo
FOR i = 0 TO 1 STEP .1
PRINT i + " - "+INTEGER(i), 0, i*200
NEXT
SHOWSCREEN
MOUSEWAIT
Output:
0 - 0
0.1 - 0
0.2 - 0
0.3 - 0
0.4 - 0
0.5 - 0
0.6 - 0
0.7 - 0
0.8 - 0
0.9 - 0
1 - 1