PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Math Typesetting Options & Tweaking
>
Built-in
Mathematica
Symbol
Output Formats for Numbers
Tutorials »
|
Math Typesetting Options & Tweaking
More About »
DigitBlock
DigitBlock
is an option for
NumberForm
and related functions which specifies the maximum length of blocks of digits between breaks.
MORE INFORMATION
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.
»
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Separate integer digits in blocks of 3:
In[1]:=
Out[1]//NumberForm=
Separate real digits in blocks of 2:
In[1]:=
Out[1]//NumberForm=
Use three-digit blocks on the left of the decimal and two-digit blocks on the right:
In[1]:=
Out[1]//NumberForm=
TUTORIALS
Output Formats for Numbers
MORE ABOUT
Math Typesetting Options & Tweaking
New in 1
© 2008 Wolfram Research, Inc.