Perl exp Function


Advertisements


Description

This function returns e (the natural logarithm base) to the power of EXPR. If EXPR is omitted, gives exp($_).

Syntax

Following is the simple syntax for this function −

exp EXPR

exp

Return Value

This function does not return any value.

Example

Following is the example code showing its basic usage −


When above code is executed, it produces the following result −




Advertisements