LOL Thx Jim yes parseFloat() rushing out the door to get to work :) I hate monday!
Eric On 3/5/07, Jim Davis <[EMAIL PROTECTED]> wrote: > > > -----Original Message----- > > From: Eric Haskins [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 05, 2007 9:19 AM > > To: CF-Talk > > Subject: Re: Simple JS? > > > > I believe float() will also help with this. > > That would be "parseFloat()" - but your absolutely right. ;^) > > Also "toFixed()" will let you round the results of calculations to a > specific decimal place before continuing. > > Helps to get around those pesky "binary to decimal" conversion issues > (where > you end up with a huge decimal number that's _almost_ the correct the > answer > because the real answer can't be represented in binary). > > Jim Davis > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271537 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

