Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Weird behavior of NumberForm in ver 5.1

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55107] Weird behavior of NumberForm in ver 5.1
  • From: Luis Rademacher <lrademac at hotmail.com>
  • Date: Sat, 12 Mar 2005 02:37:02 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Please compare the result of NumberForm between 5.0 and 5.1. It seems to 
me that the right output is the one given by 5.0. Also tried a similar 
example on 4.2, which seems to agree with 5.0

------------------------------------------------

In[1]:=
NumberForm[{0.073808836682`30,0.794740579742`30},5]

Out[1]//NumberForm=
{0.073809,0.79474}

In[2]:=
$Version

Out[2]=
5.0 for Linux (November 18, 2003)

------------------------------------

In[1]:=
NumberForm[{0.073808836682`30,0.794740579742`30},5]

Out[1]//NumberForm=
{0.073809,0.794740000000000000000000000000}

In[2]:=
$Version

Out[2]=
5.1 for Linux (October 25, 2004)

------------------------------------------------

Does anybody know what is going on here?

Luis.


  • Prev by Date: Re: substrings at the end of words
  • Next by Date: Re: chi square value after FindFit
  • Previous by thread: webMathematica
  • Next by thread: Re: Weird behavior of NumberForm in ver 5.1