Sweet! Many years ago, in high school Algebra class, I would have been able to figure that out. It's amazing what we forget.
-----Original Message----- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Wednesday, November 25, 2009 2:23 PM To: cf-talk Subject: Re: Round to the nearest .5 value Assuming 'n' is your number, use #round(n * 2) / 2# For example: 3.21 * 2 == 6.42 round(6.42) == 6 6 / 2 == 3 3.31 * 2 = 6.62 round(6.62) == 7 7 / 2 == 3.35 cheers, barneyb ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328691 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4