VBScript CSng Function
Complete VBScript Reference Manual
The CSng function converts an expression to the Single type.
The expression must be a number.
Syntax
CSng(expression)
| Parameters | Description |
|---|---|
| expression | Required. Any valid expression. |
Example
Example
The example above produces the following output:
300000
1536.753
-6700000
Try it »
Complete VBScript Reference Manual