Tell me more ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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?

share|improve this question
3  
What happens when you enter "number format" into the search form of the Documentation Center? – Michael E2 Feb 27 at 15:52
Of course I tried the documentation center for days. But it led me nowhere, so I decided to ask here. – user6139 Feb 28 at 14:27
1  
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. – Michael E2 Feb 28 at 16:21

1 Answer

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

Or you could do something like:

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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