something like result = ceiling(number/100)*100
(untested) Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Dave Phillips wrote: > Hi, > > I need to determine what multiple of 100 a variable is closest to, always > rounding up. Examples: > > 42.5 would return 100 > 153 would return 200 > 301 would return 400 > 1001 would return 1100 > > This number could go up indefinitely, so I can't code for a specific number > of multiples of 100. > > I know there has to be a 'simple' way to do this in CF. I've been coding in > CF for 11 years and programming in general for 19, but I am NOT a math > wizard. Someone, PLEASE HELP! :) > > Thanks! > > Dave Phillips > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302135 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

