expm1
(PHP 4 >= 4.1.0)
expm1 -- Returns exp(number) - 1, computed in a way that
is accurate even when the value of number is close to zero
Description
float expm1 ( float number)
Warning
This function is EXPERIMENTAL. The behaviour of this function,
the name of this function, and anything else documented
about this function may change without notice in a future
release of PHP. Use this function at your own risk.
Warning
This function is currently not documented; only the argument
list is available.
Note: This function is not implemented on Windows platforms.
floor
(PHP 3, PHP 4 )
floor -- Round fractions down
Description
float floor ( float value)
Returns the next lowest integer value by rounding down value
if necessary. The return value of floor() is still of type
float because the value range of float is usually bigger
than that of integer.
Example 1. floor() example
<?php
echo floor(4.3); // 4
echo floor(9.999); // 9
?>
See also ceil() and round().
|