Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'problems with decimals' topicStudent Support Forum > General > Archives > "problems with decimals"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
10/05/12 12:01pm

Look at

http://reference.wolfram.com/mathematica/ref/AccountingForm.html

and

http://reference.wolfram.com/mathematica/ref/NumberFormat.html

In general all the various "Forms" wrap a presentation style around the argument. That often means the result is not appropriate for further calculation, but can be used for pretty printing your display. So I am guessing if you try AccountingForm[x]+AccountingForm[y] you may get nonsense or errors, but if you just want to Print[AccountingForm[x]] you might get what you want.

URL: ,

Subject (listing for 'problems with decimals')
Author Date Posted
problems with decimals Nicolai 10/05/12 02:32am
Re: problems with decimals Bill Simpson 10/05/12 12:01pm
< Previous CommentHelp | Reply To Comment | Reply To Topic