Re: About N in Mathematica 4
- To: mathgroup at smc.vnet.net
- Subject: [mg25367] Re: About N in Mathematica 4
- From: leko at ix.netcom.com (J. Leko)
- Date: Sun, 24 Sep 2000 03:01:34 -0400 (EDT)
- References: <8qhn06$j09@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Ahhh... It sounds like you're coming from an older version of Mathematica. I too had this problem when I switched to 4.0. It appears that the definition of the N function has changed since then. What you now need to use is the NumberForm function (section 2.8.7). It seems to operate in a fashion similar to the old N. Regards, J. Leko Please reply to leko*j at cspar.uah.edu and remove the * In article <8qhn06$j09 at smc.vnet.net>, "Sistrall" <silvano.stralla at tin.it> wrote: > Hi! > > I've a question about the function N in Mathematica 4. I haven't found > information about this problem. > > The question is: why if I use N[Pi,30] I'll have a number of 30 decimal > digits, but with N[Pi,10] or N[Pi,3] I'll get a number of 6 digits? > > The right number of digits is given only if I use a precision bigger than > the precision of the machine. But if I want a number of 3 decimal digits? > > Thanks.