Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: ToExpression again

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82385] Re: ToExpression again
  • From: "Kevin J. McCann" <Kevin.McCann at umbc.edu>
  • Date: Fri, 19 Oct 2007 04:54:31 -0400 (EDT)
  • Organization: University System of Maryland
  • References: <ff78om$o1b$1@smc.vnet.net>

x=ToExpression["1.23456789"]

Try

x//FullForm

and you will see that x has "everything", it is just the default output 
form of the numbers that rounds it.

Kevin

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
> 
> 

-- 

Kevin J. McCann
Research Associate Professor
JCET/Physics
Physics Building
University of Maryland, Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250


  • Prev by Date: Re: GraphicsGrid
  • Next by Date: WebMathematica and 6.0 problems
  • Previous by thread: Re: ToExpression again
  • Next by thread: Re: ToExpression again