1.

How Will You Get The Octal Value Of The Given Number In Vbscript?

Answer»

Using Oct FUNCTION, which returns the OCTAL value of the given number.

EXAMPLE:

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

Using Oct function, which returns the octal value of the given number.

Example:

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



Discussion

No Comment Found