This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:is_float [2017/03/27 20:53] jeff |
uphp:functions:is_float [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
======is_float====== | ======is_float====== | ||
+ | |||
< | < | ||
- | Return 1 if the variable is a float | + | Check if a variable is a < |
====Description==== | ====Description==== | ||
- | <well size=" | + | |
- | <span style=" | + | <well size=" |
- | < | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
+ | <span style=" | ||
</ | </ | ||
- | Check if a variable or value is a floating point number | + | Check to see if a variable or value is of type < |
====Parameter==== | ====Parameter==== | ||
- | < | ||
- | ====Return | + | < |
- | 1 (true) if float, 0 (false) if not a float | + | |
+ | ====Return | ||
+ | |||
+ | < | ||
====Examples==== | ====Examples==== | ||
+ | |||
<code php> | <code php> | ||
<? | <? | ||
Line 34: | Line 39: | ||
====Notes==== | ====Notes==== | ||
+ | |||
This function checks ONLY the type of the variable, not the data that it holds! | This function checks ONLY the type of the variable, not the data that it holds! | ||
Line 39: | Line 45: | ||
====See Also==== | ====See Also==== | ||
- | [[is_int()]] - Return 1 if the variable is an integer | ||
- | [[is_numeric()]] - Return 1 if the value is numeric (integer, float or numeric string) | + | [[is_int()]] - Check if a variable is an < |
+ | |||
+ | [[is_numeric()]] - < | ||
- | [[is_string()]] - Return 1 if the variable is a string | + | [[is_string()]] - Check if a variable is a < |
- | [[is_array()]] - Return 1 if the variable is an array | + | [[is_array()]] - Check if a variable is an < |
- | [[isset()]] - Return 1 if the variable exists | + | [[isset()]] - Check if a variable exists |
[[uphp: | [[uphp: | ||