


CCur
Purpose
Explicitly converts an expression from one data type to the currency data type.
Arguments
CCur( expression )
Notes
This function explicitly controls the data type of a numeric expression. For
example, you can use CCur to force currency arithmetic (which has greater precision but less range) in
cases in which integer, double-precision, or single-precision arithmetic
normally would occur.
Example
CCur converts the calculated Double to a Currency with four decimal digits of
precision to the right of the decimal, displaying the result in conventional
Currency value format with two places to the right of the decimal.
X = CCur( Amount ) * CCur( Percent * .01 )