Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10371 > unrolled thread

Re: Converting from string to real

Started byAdriano Pascoletti <adriano.pascoletti@uniud.it>
First post2012-06-07 09:19 +0000
Last post2012-06-07 09:19 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Converting from string to real Adriano Pascoletti <adriano.pascoletti@uniud.it> - 2012-06-07 09:19 +0000

#10371 — Re: Converting from string to real

FromAdriano Pascoletti <adriano.pascoletti@uniud.it>
Date2012-06-07 09:19 +0000
SubjectRe: Converting from string to real
Message-ID<jqprnf$2d4$1@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
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web