A few thoughts on this:

- ceiling() always rounds up
- round() rounds up or down based on general rounding rules
- floor() is not implemented in CF, but in Java floor always rounds down
- NumberFormat and DollarFormat are not math functions at all, they are
displaying formatting functions. Don't apply them unless and until you are
ready to display the value.



On 6/18/07, Tony wrote:
>
> (cross post from cf-comm.)
>
> you can either run this code below, on your server
> or see it at this url.
>
> http://www.revolutionwebdesign.com/why/
>
> either way... if you can, help me understand this...
>
>
-- 
---------------
Robert Munn
www.funkymojo.com


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

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:236800
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
  • Re: cf why. Zaphod Beeblebrox
    • Re: cf why. Robert Munn

Reply via email to