MathGroup Archive 2012

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

Search the Archive

Re: Converting from string to real


Internally it is as you like:

In[4]:= InputForm[ToExpression["109266.75"]]
Out[4]//InputForm= 109266.75


Adriano Pascoletti

2012/6/6 fcaleyo <fcaleyo at gmail.com>

> Hi guys, I've got a problem with ToExpression[].
> It seems to round large real numbers off, e.g.
> ToExpression["109266.75"] returns 109267., still a real, yet not exactly
> what the original string meant.
> Any idea to solve this?
> Many thanks
> fcaleyo
>
>


  • Prev by Date: Can Mathematica do regression, or similar?
  • Next by Date: Re: Converting from string to real
  • Previous by thread: Re: Converting from string to real
  • Next by thread: Re: Converting from string to real