Description
The CCur() function converts an expression to type Currency.
The expression must be a numeric value.
This function has the form:
CCur(expression)
Parameter | Description |
---|---|
expression | (required) Any valid expression |
Examples
The following examples show the basic use of this function:
Example 1
Msgbox(CCur(30))
This produces the following result:
30
Example 2
Note that CCur rounds off to 4 decimals:
Msgbox(CCur(5.9555555555555))
This produces the following result:
5.9556
Miscellaneous Information
Supported in Version: | 1.0 |
---|