is_real

(PHP 4, PHP 5, PHP 7)

is_realПсевдоним is_float()

Описание

Эта функция является псевдонимом: is_float().

Коментарии

is_float — Finds whether a variable is a floatDescriptionbool is_float ( mixed var )

Finds whether the given variable is a float.

example:
<?php
$float
=50.97;
if(
is_float($float))
{
    echo 
$float."is a float";
}
else
{
    echo 
$float"is not a float";
}
?>

output:
50.97 is a float
2010-07-24 03:53:15
http://php5.kiev.ua/manual/ru/function.is-real.html

    Поддержать сайт на родительском проекте КГБ