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:302124 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4