Specifications

Int
686 InfoMaker
Int
Description Gets the largest whole number less than or equal to a number.
Syntax Int ( n )
Return value The datatype of n. Returns the largest whole number less than or equal to n.
Examples These expressions return 3.0:
Int(3.2)
Int(3.8)
These expressions return -4.0:
Int(-3.2)
Int(-3.8)
See also
Ceiling
Integer
Round
Truncate
Integer
Description Converts the value of a string to an integer.
Syntax Integer ( string )
Return value
Integer. Returns the contents of string as an integer if it succeeds and 0 if string
is not a number.
Examples This expression converts the string 24 to an integer:
Integer("24")
Argument Description
n The number for which you want the largest whole number that is
less than or equal to it
Argument Description
string The string you want returned as an integer