1.

How will you get the integer part of a number in VBScript?

Answer»

Using Int function, which returns the integer part of the given number.

Example −

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


Discussion

No Comment Found