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.998651document.write("Oct Result of num is : " & Oct(num))& "<br/>" '37777776572


Discussion

No Comment Found