MathGroup Archive 2005

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

Search the Archive

Re: precision of numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54107] Re: precision of numbers
  • From: "Drago Ganic" <drago.ganic at in2.hr>
  • Date: Thu, 10 Feb 2005 02:48:01 -0500 (EST)
  • References: <cud7lg$302$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
instead of 445.25 use 44525/100. That is not the same in Mathematica.

In[1]:=15525600000*(44525/100)*24
Out[1]=165906561600000
If you want exact results you must have exact numbers in input (never use 
_Real in computations where you like exact results).

Greetings,
Drago Ganic

<fartous at mail15.com> wrote in message news:cud7lg$302$1 at smc.vnet.net...
> in the product:
> 15525600000*445.25*24
> the output is:
> 1.65907*(10^14)
> also when we use:
> N[15525600000*445.25*24, 15]
> the output is 1.65907*(10^14)
> but i want the precise number:
> 165906561600000
> what could i do
> jack
> 



  • Prev by Date: Re: precision of numbers
  • Next by Date: Re: precision of numbers
  • Previous by thread: Re: precision of numbers
  • Next by thread: Re: precision of numbers