YouTip LogoYouTip

Func Ccur

# VBScript CCur Function * * Complete VBScript Reference Manual](#) * * * The CCur function converts an expression to Currency type. The expression must be a numeric value. ### Syntax CCur(expression) | Parameter | Description | | :--- | :--- | | expression | Required. Any valid expression. | ## Example ## Example 1 document.write(CCur(30) & "
") Output of the above example: 30 [Try it yourself Β»](#) ## Example 2 Note that the CCur function rounds to 4 decimal places: document.write(CCur(5.9555555555555) & "
") Output of the above example: 5.9556 [Try it yourself Β»](#) * * Complete VBScript Reference Manual](#)
← Func CdblFunc Cbyte β†’