is_real

(PHP 4, PHP 5)

is_realAlias dla is_float()

Opis

Ta funkcja jest aliasem dla: is_float().

add a note add a note

User Contributed Notes 1 note

up
7
charlescbe16 at gmail dot com
4 years ago
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
To Top