Couldn't you divide it by 1000 then round, then multiply by 1000? <cfset RoundedVariable=(Round(VariableToRound/1000)))*1000>
I don't know if that will work and it's early in the morning, so the code may be wrong, but I suspect you get the idea. On Thu, Sep 16, 2010 at 7:37 AM, Jeanmarie Richardson <[email protected]> wrote: > > Hi -- > > I need to round numbers consistently to the highest 1000. Is there a CF > Function that will do this? I found something called intervalRound from Rob > Rusher but it rounds to the nearest 1000 (rounding down in some cases) which > is not what I need. An example would be great! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337127 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

