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

              











FUNCTION: CCur( )

Implemented in version 1.0
 
You can determine the expression subtype by using the function VarType( ).
 
CCur(Number)
 
The CCur function converts any number or numeric string to the variant of subtype Currency.
 
Converts to currency values ranging from
-922,337,203,685,477.5808 to 922,337,203,685,477.5807
 
Code:
<% anynumber=(12345) %>
<% =CCur(any_number) %>

 
Output:
12345
 
Code:
<% any_numeric_string=("98765") %>
<% =CCur(any_numeric_string) %>

 
Output:
98765
 
This function rounds off to 4 decimal places.
 
Code:
<% anynumber=(55555.123456) %>
<% =CCur(anynumber) %>

 
Output:
55555.1235


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