Divide the number by 100, take the ceiling of that number then multiply by 100?
::-----Original Message----- ::From: Dave Phillips [mailto:[EMAIL PROTECTED] ::Sent: Wednesday, March 26, 2008 2:19 PM ::To: CF-Talk ::Subject: Quick Math question (not for me, obviously) :: ::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:302137 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

