1.

How Will You Convert A Given Number To Hexadecimal In Vbscript?

Answer»

Using Hex FUNCTION, which CONVERTS a given number of any variant subtype to Hexadecimal.

Example:

X = 123
y = 123.882
document.write("y value after converting to Hex -" &AMP; Hex(y) & "<br /&GT;")

Using Hex function, which converts a given number of any variant subtype to Hexadecimal.

Example:

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



Discussion

No Comment Found