Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10371
| From | Adriano Pascoletti <adriano.pascoletti@uniud.it> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Converting from string to real |
| Date | 2012-06-07 09:19 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jqprnf$2d4$1@smc.vnet.net> (permalink) |
| 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@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 > >
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Converting from string to real Adriano Pascoletti <adriano.pascoletti@uniud.it> - 2012-06-07 09:19 +0000
csiph-web