Seiki Batch Script > Mathematical Functions

@exp

Returns e raised to the specified power

Class: Mathematical

Parameters: @d – A number specifying a power

Syntax: @returnValue=@exp(@d)

Returns: The number e raised to the power @d

Remarks:

      Use @pow to calculate powers of other bases

      @exp is the inverse of @log

Example:

//Example for the mathematical @exp method

@d=5.678 //Set power value

@result=@exp(@d) //Calculate result (= 292.364)

message(“Exponential of “ + @d + “ is “ + @result) //Display results message