Thanks Tom. Just what I was hoping to find. (And I can find it now, in J Help, now I know what I'm meant to be looking for.)
On Thu, Oct 20, 2011 at 1:41 AM, Tom Arneson <[email protected]> wrote: > Use dyadic Format with a negative sign on either w or d part of the left > argument > > 12j_5 ": 123%9874563210 > 1.24562e_8 > > > Any negative sign is placed just before the leading digit. If w>:0 and d>:0, > the result is right-justified in the space. Otherwise (if w<0 or d<0), the > result is put in exponential form (with one digit before the decimal point) > and is left-justified except for two fixed spaces on the left (including one > for a possible negative sign). > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Ian Clark > Sent: Wednesday, October 19, 2011 19:32 > To: Programming forum > Subject: [Jprogramming] scientific notation > > 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 ? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
