is_float

(PHP 3, PHP 4, PHP 5)

is_float -- Finds whether a variable is a float

Opis

bool is_float ( mixed var )

Finds whether the given variable is a float.

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

Parametry

var

The variable being evaluated.

Zwracane wartości

Returns TRUE if var is a float, FALSE otherwise.

Patrz także

is_bool()
is_int()
is_numeric()
is_string()
is_array()
is_object()

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:46