Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title

Displaying Numbers
Author

Bruce Torrence
Organization: Randolph-Macon College
Department: Department of Mathematics
Journal / Anthology

Mathematica in Education and Research
Year: 2005
Volume: 10
Issue: 4
Page range: 80-87
Description

A common question among both students and teachers who use Mathematica is how to control the display of numbers. How can one apply a consistent format to a large collection of different numbers? For instance, can one round every number to exactly two decimal places (as for a table of monetary values)? Can one add commas to large numbers, say after every third digit, to make them easier to read? Can one use scientific notation at his discretion, for instance, to export numbers for use in another program? The answer to all these questions is ‘Yes.’ Indeed, it has always been a simple matter to program Mathematica do this automatically according any desired specifications.
Subjects

*Mathematica Technology > Kernel > Numerics
*Mathematics > Number Theory