Ensuring numeric input

Alex Tweedly alex at tweedly.net
Thu Oct 27 05:19:11 CDT 2005


Ken Ray wrote:

>
>BTW: There was no reason to trap for backspace/delete as there isn't a way
>AFAIK to remove some or part of a number and have the end result *not* be a
>number.
>  
>
isNumber("-1")    true
isNumber("-")      false


-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005




More information about the use-livecode mailing list