< Perl Programming < Keywords
![](../../../I/Crystal_Clear_action_apply.png.webp)
The log keyword
log returns the natural logarithm base e of EXPRESSION. If EXPRESSION is omitted, exp($_) is executed.
Syntax
log EXPRESSION
log
Examples
![](../../../I/Crystal_Clear_action_apply.png.webp)
print exp(2.71828182845905) . "\n";
print exp(7.38905609893065) . "\n";
1 2
See also
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.