By default, large numbers are displayed in scientific form in output like 1.2345 x 10^8 in Mathematica 8.0.4, but I would prefer having numbers in accounting form like 123,450,000 in output.

How can I change the default output number form from scientific form to accounting form?

  • 3
    $\begingroup$ What happens when you enter "number format" into the search form of the Documentation Center? $\endgroup$ – Michael E2 Feb 27 '13 at 15:52
  • $\begingroup$ Of course I tried the documentation center for days. But it led me nowhere, so I decided to ask here. $\endgroup$ – Lachesis Feb 28 '13 at 14:27
  • 1
    $\begingroup$ Showing what you tried encourages people to help you. It also lets them see what you are doing wrong. The first three or four links in this google search yield pages that probably contain the answer to your question, especially the second two. $\endgroup$ – Michael E2 Feb 28 '13 at 16:21

Under Edit > Preferences > Appearance > Numbers there is a Formatting tab.

Or you could do something like:

$PrePrint = AccountingForm;
  • $\begingroup$ oho - the famous Fing-Longer! $\endgroup$ – Yves Klett Feb 27 '13 at 16:49
  • 1
    $\begingroup$ @Yves A man can dream... $\endgroup$ – Mr.Wizard Feb 27 '13 at 16:50
  • $\begingroup$ Does that mean you are friends with the (ex-) toad now? $\endgroup$ – Yves Klett Feb 27 '13 at 16:51
  • $\begingroup$ @Yves We're always friendly, unless he tries to kill me. ;-) $\endgroup$ – Mr.Wizard Feb 27 '13 at 16:56
  • $\begingroup$ That´s what I´d term a robust relationship, then. $\endgroup$ – Yves Klett Feb 27 '13 at 16:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.