Core Function isNumeric
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> isNumeric( <expression> ) </pre> === Description === Checks if string only contains numbers. === Parameters === ==== expression ==== The string to use. === Return Val...")
Newer edit →
(Created page with "<pre> isNumeric( <expression> ) </pre> === Description === Checks if string only contains numbers. === Parameters === ==== expression ==== The string to use. === Return Val...")
Newer edit →
Revision as of 19:21, 1 December 2011
isNumeric( <expression> )
Contents |
Description
Checks if string only contains numbers.
Parameters
expression
The string to use.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
None.
Example
$str = "The quick brown fox"; MsgBox( isNumeric($str) );