exp Summary Raises Euler's number to a power. (e^x) Usage public static double exp(double x) Returns The result of the exponentiation of raising Euler's number to the provided power. Parameters x The power to raise Euler's number to. Description Raises Euler's number (Math.E) to a power via exponentiation. Examples Basic Usage 12345import System; Console.log(Math.exp(0)); // 1Console.log(Math.exp(1)); // 2.718281828459045Console.log(Math.exp(2)); // 7.3890560989306495 Share HTML | BBCode | Direct Link