is_infinite(): Finds whether a value is infinite

bool is_infinite ( float $input )
ParameterDESCRIPTION
$inputRequired : Number to check.
The output is TRUE if $input is infinte, else False.

Example :

<?Php
echo is_infinite(2);
echo "<br>";
echo is_infinite(5/10);
echo "<br>";
echo is_infinite(log(0)); Output 1 
?>


Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com




    Post your comments , suggestion , error , requirements etc here .




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer