1.

How Will You Get The Exponent Of The Given Number In Vbscript?

Answer»

Using EXP FUNCTION, which returns the value of e RAISED to the specified number.

Example:

Dim NUM : num = -645.998651<BR>document.write("Exp Result of num is : " & Exp(num))& "<br/>" '2.79479883633128E-281

Using Exp function, which returns the value of e raised to the specified number.

Example:

Dim num : num = -645.998651
document.write("Exp Result of num is : " & Exp(num))& "<br/>" '2.79479883633128E-281



Discussion

No Comment Found