Ensuring numeric input

Ken Ray kray at sonsothunder.com
Thu Oct 27 11:49:42 EDT 2005


On 10/27/05 5:19 AM, "Alex Tweedly" <alex at tweedly.net> wrote:

> 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
> 




More information about the use-livecode mailing list