Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel eScript Language Reference > Siebel eScript Commands > The Global Object >
isNaN() Method
The isNaN() method determines whether its parameter is or is not a number.
Syntax
isNaN(value)
Returns
True if value is not a number; otherwise, false.
Usage
The isNaN() method determines whether value is or is not a number, returning true if it is not or false if it is. Value must be in italics.
If value is an object reference, IsNan() always returns true, because object references are not numbers.
Example
IsNaN("123abc") returns true.
IsNaN("123") returns false.
IsNaN("999888777123") returns false.
IsNaN("The answer is 42") returns true.
See Also
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel eScript Language Reference Published: 18 April 2003 |