Easy Tutorial
❮ Vb Func Now Func String ❯

VBScript CCur Function



The CCur function converts an expression to a Currency type.

The expression must be a numeric value.

Syntax

Parameter Description
expression Required. Any valid expression.

Example

Example 1

The above example outputs:

Example 2

Note that the CCur function rounds to 4 decimal places:

The above example outputs:


❮ Vb Func Now Func String ❯