Yeah, dunno what I was thinking there. 
Not sure if I actually woke up this morning; I've been doing similar things 
through-out today. :(

>That will truncate, leaving you with zero decimal places, not two.
>This expression:
>
>  #((num * 100) \ 1) / 100#
>
>will do as you want, but it has the effect of truncating at two
>decimal places, rather than rouding to two decimal places.  E.g.,
>123.4567 will become 123.45, rather than the desired 123.46.  Not to
>mention the fact that the round() call is much more readable.
>
>cheers,
>barneyb
>
>On 4/3/07, Peter Boughton <[EMAIL PROTECTED]> wrote:
>
>-- 
>Barney Boisvert
>[EMAIL PROTECTED]
>http://www.barneyb.com/
>
>Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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

Reply via email to