> -----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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271528 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

