Re: Converting from string to real
- To: mathgroup at smc.vnet.net
- Subject: [mg126778] Re: Converting from string to real
- From: Adriano Pascoletti <adriano.pascoletti at uniud.it>
- Date: Thu, 7 Jun 2012 05:17:57 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201206060853.EAA17920@smc.vnet.net>
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 > >
- References:
- Converting from string to real
- From: fcaleyo <fcaleyo@gmail.com>
- Converting from string to real