|
|
VBScript CDbl Function
Complete VBScript Reference
The CDbl function converts an expression to type Double.
Syntax
| Parameter |
Description |
| expression |
Required. Any valid expression |
Example 1
Dim a
a=134.345
document.write(CDbl(a))
Output:
134.345
|
Example 2
Dim a
a=14111111113353355.345455
document.write(CDbl(a))
Output:
1.41111111133534E+16
|
Complete VBScript Reference
The Creators of XMLSpy are Pleased to Announce
|
|
|