is_finite(): to findout legal finite number or not

bool is_finite ( float $input )
$inputRequired : Number to check.
The output is TRUE if $input is legal finite number on this platform, else False.

Example :

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

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-2020 All rights reserved worldwide Privacy Policy Disclaimer