isnumber
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | isnumber [2006/08/01 03:45] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: isnumber.txt, | ||
+ | ======Synopsis: | ||
+ | $__isnumber__(< | ||
+ | $__isnumber__(b< | ||
+ | $__isnumber__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * The < | ||
+ | * The < | ||
+ | * If the < | ||
+ | * If < | ||
+ | * < | ||
+ | * If a decimal point is used and the < | ||
+ | * The return value is 1 if < | ||
+ | |||
+ | ======Practical: | ||
+ | Wow. That's complicated. | ||
+ | you whether or not < | ||
+ | (such as b8, or b16) to see if < | ||
+ | base 10. This is neccesary if you want to octal or hexidecmial numbers | ||
+ | for validity. | ||
+ | |||
+ | ======Returns: | ||
+ | 1 if < | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $isnumber(10) | ||
+ | $isnumber(hello) | ||
+ | $isnumber(0xdeadbeef) | ||
+ | $isnumber(b8 0xdeadbeef) | ||
+ | $isnumber(b8 07f932) | ||
+ | $isnumber(3.4) | ||
+ | $isnumber(b16 a.f) returns 1 | ||
+ | $isnumber(a.f) | ||
+ | $isnumber(0xa.0) | ||
+ | $isnumber(b16 a.f) returns 1 (hex digits valid with b16) | ||
+ | </ | ||
isnumber.txt · Last modified: 2006/08/01 03:45 by 127.0.0.1