Also sprach Boris Zbarsky: > > (I also think there should be a way to serialize JS without suddenly > > switching notation.) > > In theory, there is. It will, generally speaking, produce decimal > numbers with up to 300 digits or so, right? That sounds exhaustive. There is no way to set the precision? Like "%.2f"? > Note that JS will only switch to e-notation for numbers whose absolute > value is more than 10^20 or less than 10^{-6}. [1] While using decimal > notation for the latter can sort of be ok if they're close to 10^{-6}, > for the 20-digit or more ones it gets pretty silly very fast. Right. I can't think of a meaningful way of using numbers as small as 10^{-6}. At that stage, most properties would be happy with zero, I believe. -h&kon Håkon Wium Lie CTO °þe®ª howcome@opera.com http://people.opera.com/howcomeReceived on Wednesday, 1 September 2010 20:31:29 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT