How to use expm1 in PHP
This article describe about expm1() Function in PHP.
expm1() Function
This function return the Ex -1 value. Where E is a Euler constant and x is passed number.
Syntax
Parameter |
Description |
x |
define a number. |
Example
<html>
<body>
<?php
echo(expm1(2) . "<br />");
echo(expm1(-2) . "<br />");
echo(expm1(6) . "<br />");
echo(expm1(12))
?>
</body>
</html> |
Output

You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here