Re: Mathematical functions in PHP expm1()
The expm1() function returns the value of Ex-1, where E is Euler's constant (approximately 2.7183) and x is the number passed to it. Syntax
expm1(x)
Parameter Description
x Required. A number Example
In the following example we will use the expm1() function on different numbers:
<?php
echo(expm1(1) . "<br />");
echo(expm1(-1) . "<br />");
echo(expm1(5) . "<br />");
echo(expm1(10))
?>
__________________
Thanks
Regards
Sureshbabu Harikrishnan +91 9884320017 |