MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: NumberForm spaces and commas in v7.0.1

  • To: mathgroup at
  • Subject: [mg98907] Re: [mg98842] NumberForm spaces and commas in v7.0.1
  • From: Murray Eisenberg <murray at>
  • Date: Tue, 21 Apr 2009 05:11:08 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <>
  • Reply-to: murray at

In Mathematica 7.0.1, from the menu select Edit > Preferences.  Select 
the Appearance tab and then its Numbers tab.  On the Formatting tab 
there, you'll see an option "Digit block separator". You may change that 
to a thin comma, a comma, or a period.

The same option may be set directly in the Options Inspector.  Search 
for NumberSeparator there.  If you change from the default, 
\[ThinSpace], you can opt to set this just for the current selection, 
just for the current notebook, or globally.

underante wrote:
> hello,
> in Mathematica v4 and 5.2 to print long numbers separated by commas in blocks
> of 3, i used to use something like this for example:
> NumberForm[N[Pi, 10], DigitBlock -> 3]
> which gave:
> 3.141,592,654
> i.e. commas to the right of the decimal point. but in Mathematica v7.0.1  the
> same statement generates number blocks separated by spaces, i.e:
> 3.141 592 654
> i can recover the commas by using something like:
> NumberForm[N[Pi, 10], DigitBlock -> 3, NumberSeparator -> ","]
> but does anyone know if there is a quick fix to get the old style
> commas back without having to change all my old programs in this way?
> thankyou,
> f.c.

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: Re: Help with a possible bug
  • Next by Date: Re: Parallel processing downgrade
  • Previous by thread: NumberForm spaces and commas in v7.0.1
  • Next by thread: Re: NumberForm spaces and commas in v7.0.1