1.

How will you convert a given number to double in VBScript?

Answer»

Using CDbl function, which converts a given number of any variant subtype to double.

Example −

x = 123y = 123.882document.write("x value after converting to double - " & CDbl(x) & "<br />")


Discussion

No Comment Found