YouTip LogoYouTip

Func Cdbl

# VBScript CDbl Function * * Complete VBScript Reference Manual](#) * * * The CDbl function converts an expression to Double precision (Double) type. The expression must be numeric. ### Syntax CDbl(expression) | Parameter | Description | | :--- | :--- | | expression | Required. Any valid expression. | ## Example ## Example 1 document.write(CDbl(134.345) & "
") Output of the above example: 134.345 [Try it yourself Β»](#) ## Example 2 document.write(CDbl(14111111113353355.345455) & "
") Output of the above example: 1.41111111133534E+16 [Try it yourself Β»](#) * * Complete VBScript Reference Manual](#)
← Func ChrFunc Ccur β†’