| AND OR | string words | *

manual for is_float | search for "is_float"


is_float

(PHP 3, PHP 4 , PHP 5)

is_float -- Finds whether a variable is a float

Description

bool is_float ( mixed var)

Returns TRUE if var is a float, FALSE otherwise.

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().

See also is_bool(), is_int(), is_integer(), is_numeric(), is_string(), is_array(), and is_object(),

Manual © 2001-2008 The PHP Group
© 2008 phparadise | go to the top | search phparadise | generated in 0.021 seconds

42 hits by 13 users in the last 30 minutes.