is an option for NumberForm and related functions that specifies the maximum length of blocks of digits between breaks.


  • The default setting is DigitBlock->Infinity, which specifies that no breaks should be inserted.
  • DigitBlock->n inserts a break every n digits. »
  • DigitBlock->{nleft,nright} inserts a break every nleft digits to the left of the decimal point, and every nright digits to the right of the decimal point. »
  • The setting for NumberSeparator determines what string should be used at each break. »
  • DigitBlock can also be used to specify what to assume for interpretation of numbers with Interpreter["Number",].


open allclose all

Basic Examples  (3)

Separate integer digits in blocks of 3:

Separate real digits in blocks of 2:

Use threedigit blocks on the left of the decimal and twodigit blocks on the right:

Scope  (5)

Use DigitBlock with PaddedForm:




Specify spaces as separators:

Use commas as separators on the left and no separators on the right:

Use different block sizes and separators on the left and right:

A number with threedigit blocks:

Reverse the roles of periods and commas:

Introduced in 1988
Updated in 2014