INT( n )

Description:

This function removes the fractional part of "n" (a number), leaving only the whole number part behind. The fractional part is the part of the number after the decimal point.

Usage:

[retry]
  input "Enter an integer number > "; i
  if i<>int(i) then
    print i; " isn't an integer! Re-enter."
    goto [retry]
  end if
  print i; " is an integer! Thank you."