|
|
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
The Creators of XMLSpy are Pleased to Announce
|
|
|