Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

NumberForm spaces and commas in v7.0.1

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98842] NumberForm spaces and commas in v7.0.1
  • From: underante <peekadiboo at lineone.net>
  • Date: Mon, 20 Apr 2009 05:40:53 -0400 (EDT)

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.


  • Prev by Date: integrate problem
  • Next by Date: Re: representing the dihedral group {1,r,r^2...s,sr^2...}
  • Previous by thread: Re: integrate problem
  • Next by thread: Re: NumberForm spaces and commas in v7.0.1