MathGroup Archive 2007

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

Search the Archive

Re: ToExpression again


Nils,

NumberForm[ToExpression["1.23456789"], {17, 20}]


    1.23456789000000000000    is overkill


NumberForm[ToExpression["1.23456789"], {9, 8}]


does what you want precisely

1.23456789

Cheers ... Syd

Syd Geraghty B.Sc., M.Sc.
sydgeraghty at mac.com
San Jose, CA

On Oct 18, 2007, at 2:04 AM, nils wrote:

> Hello,
>
> when I evaluate
>
> ToExpression["1.23456789"]
>
> the result is
>
> 1.23457
>
> What do I have to do to get the result
>
> 1.23456789 (that is with all the digits)?
>
> Thanx to everybody who has an idea..
> Nils
>
>



  • Prev by Date: Re: ToExpression again
  • Next by Date: Re: ToExpression again
  • Previous by thread: Re: ToExpression again
  • Next by thread: Re: ToExpression again