VBScript CSng Function
Complete VBScript Reference
The CSng function converts an expression to type Single.
Syntax
Parameter |
Description |
expression |
Required. Any valid expression |
Example 1
dim a,b
a=23524.4522
b=23525.5533
document.write(CSng(a) & "<br />")
document.write(CSng(b))
Output:
23524.45
23525.55
|
Complete VBScript Reference
 |

|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|