Or, if you want to avoid the CFIF, you could just do this:

<CFSET num = 500 + ((num-1) \ 500) * 500>

Chris Lennon
A Terra Nova Design Technologies, inc.


-----Original Message-----
From: me

This should work, I think...

<CFIF num MOD 500>
   <CFSET num = 500 + (num \ 500) * 500>
</CFIF>

where num is an integer to be rounded up to the next 500.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to