FUNCTION: Int( )
Implemented in version 1.0
The Int function converts a decimal number (floating-point)
to an integer number (fix-point).
There is one major difference between Int and Fix. Int
rounds negative numbers down. Fix rounds negative numbers up.
<% =Int(123.456) %>
Positive numbers are not rounded up. The decimal point and all digits
to the right are effectively chopped off.
<% =Int(123.899) %>
Negative numbers are rounded down (towards more negative).
<% =Int(-123.456) %>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.