NAME

int - greatest integer function

SYNOPSIS

v = int(NumExpr)

DESCRIPTION

Int returns the greatest integer less than or equal to NumExpr.  NumExpr may be any numeric expression. 

The difference between fix and int is that fix does not return the next lower number when NumExpr is negative. 

EXAMPLE

The program
	print int(234.523)
	print int(-82.34)
	v = int(2.345)
	print v
produces
	 234
	-83
	 2

SEE ALSO

fix

from The Basmark QuickBASIC Programmerís Manual by Lawrence Leinweber