*sniff* I wanted to win! ;o) Cheers mate! Chris
Rick Faircloth wrote: > And we have a winner! > > Ceiling is perfect for the job! > > Thanks, Josh and everyone for the help... I think this turned > out to be worse than trying to solve the original > js validation issue! :oP > > Rick > > -----Original Message----- > From: Josh Nathanson [mailto:[EMAIL PROTECTED] > Sent: Monday, March 12, 2007 6:05 PM > To: CF-Talk > Subject: Re: What is wrong with this? > > >> That mask is supposed to round the number up to the >> near who number, or, in this case, 255900 >> > > I would argue that since you're trying to round a decimal up to the next > highest integer, Ceiling is the appropriate function, since that is exactly > the intent of that function. NumberFormat can be used of course, but its > intent is different, and the implementation is more difficult. > > -- Josh > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272452 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

