Re: Displaying Real Numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg85344] Re: Displaying Real Numbers
- From: dh <dh at metrohm.ch>
- Date: Thu, 7 Feb 2008 04:39:19 -0500 (EST)
- References: <foc62v$6s1$1@smc.vnet.net>
Hi Lea, you could e.g. try: AccountingForm[173845955435493737/50000 // N, {15, 5}] hope this helps, Daniel Lea Rebanks wrote: > Hi All, > > Here's a really simple question > > I have the output. > > 173845955435493737/50000 > > I am trying to display this number as a real number showing decimals. > But I don't want to see the output as a fraction or scientific > notation. > > N[173845955435493737/50000,20] > 3.4769191087098747400=D71012 > > The number should look something like =933476919108709.87474=94 > > > IntegerPart[173845955435493737/50000] > 3476919108709 > FractionalPart[173845955435493737/50000]//N > 0.87474 > > Any help or advice gratefully received. > > Best Regards - Lea Rebanks... > >