<cfif myNumber MOD 25 EQ 0>
Good to go!
</cfif>
> -----Original Message-----
> From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 1:54 PM
> To: CF-Talk
> Subject: Incrementing number verification
>
>
> (best title I could come up with).
>
> Q. I have a form that allows for a number to be submitted.
> I need to verify that the number submitted is in 25 increments...
>
> ie 50, 100, 125,150,200,225 etc..
>
> numbers not valid would be 120,132,180,174 etc..
>
> I am sure I can do some hoops .. but wanted to see if anyone
> had any quick sure way (or a UDF) that would make sure the
> number submitted is in the right increment.
>
> (Note:, I am not looking for order an order, just that it is
> divisable by 25 evenly).
>
> Thank you,
> Paul Giesenhagen
> QuillDesign
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4