Core Function isVarNumber
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> isVarNumber( $variable ) </pre> === Description === Checks if a variable is any integer or float/double type. === Parameters === ==== variable ==== The variable to che...")
Newer edit →
(Created page with "<pre> isVarNumber( $variable ) </pre> === Description === Checks if a variable is any integer or float/double type. === Parameters === ==== variable ==== The variable to che...")
Newer edit →
Revision as of 11:40, 2 December 2011
isVarNumber( $variable )
Contents |
Description
Checks if a variable is any integer or float/double type.
Parameters
variable
The variable to check.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
None.
Example
$var1 = "check me"; println( "Is it?: " . isVarNumber($var1) );