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 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272451
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to