September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool is_double(mixed value) Tests whether a value is a double.
Returns:
TRUE if the value is a double; FALSE otherwise
Description:
is_double() checks whether value is a double. If so, the function returns TRUE. If not, FALSE is returned.
Availability:
UNIX, Windows
Version:
3+, 4+
See also:
gettype()
Example:
$value = 3000000000;
// Note that the value contained in $value is larger what can usually be stored
// in an integer.
if (is_double ($value))
print 'Value $value is a double.';
else
print 'Value $value is not a double.';
|
Read now
Unlock full access