1.

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

Answer»

Using CLng function, which converts a given number of any variant subtype to Long.

Example −

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


Discussion

No Comment Found