Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information