FUNCTION:  CInt( )

Implemented in version 1.0
 
You can determine the expression subtype by using the function VarType( ).
 
CInt(Number)
 
The CInt function converts any number to the variant of subtype Integer.
 
Converts to values ranging from -32,768 to 32,767 The number is rounded off.
 
Code:
<% anynumber=1234.567 %>
<% =CInt(anynumber) %>

 
Output:
1235


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information