The Math.exp function returns Euler to the power of x. : Math « Development « Ruby
- Ruby
- Development
- Math
The Math.exp function returns Euler to the power of x.
Math.exp(1) # => 2.71828182845905
Math.exp(11) # => 59874.1417151978
Related examples in the same category