downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

is_resource> <is_object
[edit] Last updated: Fri, 25 May 2012

view this page in

is_real

(PHP 4, PHP 5)

is_realAlias de is_float()

Descripción

Esta función es un alias de: is_float().



add a note add a note User Contributed Notes is_real
charlescbe16 at gmail dot com 24-Jul-2010 12:53
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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites