Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Functions
CBool Function
CByte Function
CCur Function
CDate Function
CDbl Function
CLng Function
CSng Function
CStr Function
Int Function
Fix Function
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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information