Just remember floating point math in javascript, and I imagine CF too, is inherently imprecise when you start using numbers like the ones below.
-- jon mailto:[EMAIL PROTECTED] Monday, December 2, 2002, 10:55:23 PM, you wrote: C> oi CF-Community,!! C> in javascript C> this: C> var tmpValue = 1321.17405912 * 13.6307948336 * 2.87603038824E-009; C> alert(tmpValue); C> equals: C> 0.00005179343195439509 C> in CF C> this: C> tmpValue = 1321.17405912 * 13.6307948336 * 2.87603038824E-009; C> writeoutput("{" & tmpValue & "}"); C> equals: C> 5.17934319544E-005 C> now mind you I am assuming these values are the same, just in different formats or are they not? C> and if they are, how you reckon I can get it back to a regular format, cuz it's shaggin my C> calculations.... C> Crit ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
