Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<is_doubleis_int>
Last updated: Tue, 19 Sep 2006

is_float

(PHP 3, PHP 4, PHP 5)

is_float -- Finds whether a variable is a float

Description

bool is_float ( mixed var )

Finds whether the given variable is a float.

Note: To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use is_numeric().

Parameters

var

The variable being evaluated.

Return Values

Returns TRUE if var is a float, FALSE otherwise.




<is_doubleis_int>
Last updated: Tue, 19 Sep 2006