[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Validation constraint



Ron Savage wrote:
> On Tue, 28 Feb 2006 10:37:14 -0500, Michael Peters wrote:
> 
> Hi Michael
> 
> 
>>I know it's untested, but you can't use % with non-integer numbers.
>>I see 2 possible solutions, one regex based, the other using a
>>subroutine (my example shows the higher-order subroutines that the
>>new DFV 4.0 likes).
> 
> 
> Can't OP just multiply the figure by 100 before testing it?

Yep. That would probably be simpler :)

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.