Core Function isVarDouble
From Sputnik Wiki
isVarDouble( $variable )
Contents |
Description
Checks if a variable is a double precision floating point type.
Parameters
variable
The variable to check.
Return Value
Success: Returns true.
Failure: Returns false.
Remarks
None.
Example
$var1 = (double)100; println( "Is it?: " . isVarDouble($var1) ); // Alternative println( $var1 is double ); // Alternative println( $var1 ~~ double );