From http://www.w3schools.com (Copyright Refsnes Data)
Complete VBScript Reference
The CCur function converts an expression to type Currency.
| CCur(expression) |
| Parameter | Description |
|---|---|
| expression | Required. Any valid expression |
|
Dim a a=134.345 document.write(CCur(a)) Output: 134.345 |
|
Dim a a=1411111111.345455 'NB! This function rounds off to 4 decimal places document.write(CCur(a)) Output: 1411111111.3455 |
Complete VBScript Reference
From http://www.w3schools.com (Copyright Refsnes Data)