[Jprogramming] scientific notation

Ian Clark earthspotty at gmail.com
Thu Oct 20 08:32:18 HKT 2011


Default Format (":) flips over into scientific notation at around 2^31
(on my Mac).

   ": 2147480000
2147480000
   ": 2147490000
2.14749e9

How can I force scientific notation to appear (a) all the time, (b) >=
 a chosen number n, say n=1e6 ?


More information about the Programming mailing list