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