Testing for numerics

Jim Ault JimAultWins at yahoo.com
Tue Oct 3 13:11:34 EDT 2006


if field "MyTextField" is an integer and field "MyTextField" > -0.1

Jim Ault
Las Vegas

On 10/3/06 7:55 AM, "Rob Cozens" <rcozens at pon.net> wrote:

> Hi Dom,
> 
>>> This is fine if signed and decimal input is allowed; but isn't an
>>>  adequate check for numerics that must be positive or integers only.
>> 
>> if field "MyTextField" is an integer
> 
> Still doesn't cut it if the input must be positive.     :{`)





More information about the use-livecode mailing list