The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

is_resource> <is_object
[edit] Last updated: Sat, 12 May 2012

view this page in

is_real

(PHP 4, PHP 5)

is_realAlias of is_float()

Description

This function is an alias of: is_float().



add a note add a note User Contributed Notes is_real
charlescbe16 at gmail dot com 23-Jul-2010 07: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 | sitemap | contact | advertising | mirror sites