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
CInt Function
CLng Function
CSng Function
CStr Function
FUNCTION: CDbl( )
Implemented in version 1.0
You can determine the expression subtype by using the function
VarType( )
.
CDbl
(Number)
The
CDbl
function converts any number to the variant of subtype
Double
.
Converted values can range from
-1.79769313486232E308 to -4.94065645841247E-324 for negative values and 4.94065645841247E-324 to 1.79769313486232E308 for positive values.
Code:
<% anynumber=1234.5 %>
<% =CDbl(anynumber) %>
Output:
1234.5
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information