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.998651<BR>document.write("Hex Result of num is : " & Hex(num))& "&LT;br/>" 'FFFFFD7A

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

Example:

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



Discussion

No Comment Found