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











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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information