1.

How will you get the hexadecimal value of the given number in VBScript?

Answer»

Using Hex function, which returns the hexadecimal value of the given number.

Example −

Dim num : num = -645.998651document.write("Hex Result of num is : " & Hex(num))& "<br/>" 'FFFFFD7A


Discussion

No Comment Found