Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

VBScript CDbl function


May 13, 2021 VBScript


Table of contents


VBScript CDbl function

The VBScript CDbl function is used to return an expression that has been converted to Variant of the Double sub-type.


VBScript CDbl function Complete VBScript reference manual

The CDbl function converts expressions to double types.

The expression must be a value.

Grammar

CDbl(expression)

Parameters

parameter describe
expression Required.Any effective expression.

Instance 1

<script type="text/vbscript">

document.write(CDbl(134.345) & "<br />")

</script>

The above example output results:

134.345

Try it out . . .

Instance 2

<script type="text/vbscript">

document.write(CDbl(14111111113353355.345455) & "<br />")

</script>

The above example output results:

1.41111111133534E+16

Try it out . . .

VBScript CDbl function Complete VBScript reference manual