prints with all numbers in expr given in standard accounting notation.


prints with numbers given to ndigit precision.

Details and Options


open allclose all

Basic Examples  (1)

In accounting form, negative numbers and scientific notation are not used:

Scope  (5)

The default display for a machine number:

Display more digits than the default:

Display fewer digits:

Format a complex number:

Format a high-precision number:

Use fewer digits:

Change the display of numbers in a vector:

A matrix:

Change the display of inexact numbers in a mixed expression:

Options  (10)

DigitBlock  (2)

A default integer:

Digits separated in blocks of length 3:

Use fivedigit blocks with spaces as separators:

ExponentFunction  (1)

Compute approximate powers of :

Use exponents that are multiples of 3:

Include exponents for powers greater than 10:

NumberFormat  (1)

Display three numbers in accounting form:

Display the numbers in a Fortranlike form:

NumberMultiplier  (1)

Use the default multiplier:

Use an asterisk (*) instead:

NumberPadding  (1)

The default does not pad on the left or right:

Pad with spaces on the left:

NumberPoint  (1)

The default is a period:

Display with a comma (,) instead:

NumberSeparator  (1)

The default separator is a comma (,):

Use spaces instead:

NumberSigns  (1)

The default uses parentheses for negative numbers:

Use negative and positive signs instead:

Use words instead of symbols:

SignPadding  (1)

The default pads before signs:

Pad between signs and numbers instead:

Pad with spaces before the left sign and with zeros between the number and the right sign:

Properties & Relations  (2)

AccountingForm does not have exponents:

NumberForm and PaddedForm have exponents for powers greater than 5:

ScientificForm has a single digit to the left of the decimal:

EngineeringForm uses exponents that are multiples of 3:

Affect the display of numbers in TableForm or MatrixForm:

Possible Issues  (1)

Placeholder zeros may be needed if the requested precision is small:

Introduced in 1991
Updated in 2003