Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Math Typesetting Options & Tweaking >

DigitBlock

DigitBlock
is an option for NumberForm and related functions which 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.  »
Separate integer digits in blocks of 3:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
 
Separate real digits in blocks of 2:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
 
Use three-digit blocks on the left of the decimal and two-digit blocks on the right:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
New in 1
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team