You can use ": to format numbers into characters, see http://www.jsoftware.com/help/dictionary/d602.htm for details.
To write to file: (<jpath,'~temp\largenumber.txt') (1!:2)~ ": 10x^4000x To format the result and display it in 50 characters per line use: _50 ]\ ": 10x^4000x But make sure that the parameters in Edit->Configure->Parameters->Session Manager are large enough. On Sat, Dec 27, 2008 at 11:36 AM, Ian Gorse <[email protected]> wrote: > Hi list, > I have calculated a very large number in the excess of 7000 digits, > and J does a wonder thing in that it truncates all values so you dont > see and endless list of digits. > > On this occasion I wish to see see the full number without it being > truncated, Is it this possible? > > I would like to see it word wrapped in the J session, similar on how > haskell displays very large values or as an alternative have it saved > into a file. > > Thanks > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
