Perl Home
PERL Functions
© 2011 TutorialsPoint.COM
|
PERL exp Function
Syntax
Definition and Usage
Returns e (the natural logarithm base) to the power of EXPR. If EXPR is omitted, gives exp($_).
Return Value
Example
Following are the usage...
#!/usr/bin/perl
$var = exp(2);
print "Value of e**2 = $var\n";
This will produce
Value of e**2 = 7.38905609893065
|
|

|
|
|