RE: CF and JS

2002-12-03 Thread Ben Doom
Message- : From: Critz [mailto:[EMAIL PROTECTED]] : Sent: Monday, December 02, 2002 10:55 PM : To: CF-Community : Subject: CF and JS : : : oi CF-Community,!! : : in javascript : this: :var tmpValue = 1321.17405912 * 13.6307948336 * 2.87603038824E-009; :alert(tm

Re: CF and JS

2002-12-03 Thread jon hall
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

RE: CF and JS

2002-12-03 Thread Philip Arnold - ASP
> now mind you I am assuming these values are the same, just > in different formats or are they not? > > and if they are, how you reckon I can get it back > to a regular format, cuz it's shaggin my calculations NumberFormat() Pretty much says it all, I think Philip Arnold Technic

CF and JS

2002-12-02 Thread Critz
oi CF-Community,!! in javascript this: var tmpValue = 1321.17405912 * 13.6307948336 * 2.87603038824E-009; alert(tmpValue); equals: 0.5179343195439509 in CF this: tmpValue = 1321.17405912 * 13.6307948336 * 2.87603038824E-009; writeoutput("{" & tm