MathGroup Archive 2007

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

Search the Archive

Re: Real to String

  • To: mathgroup at
  • Subject: [mg84043] Re: Real to String
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at>
  • Date: Fri, 7 Dec 2007 03:11:43 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <fj89ef$a5f$>

Kurda Yon wrote:

> What is the way to convert real to a string in Mathematica? For
> example, I have a variable, which takes a real value (for example
> x=1.2345). And I would like to have a variable whose value is
> "1.2345".


In[1]:= x = 1.2345
y = ToString@x

Out[1]= 1.2345

Out[2]= "1.2345"


  • Prev by Date: Re: Images chopped during Export
  • Next by Date: Re: Finding position of an element in a list:
  • Previous by thread: Re: Real to String
  • Next by thread: Eigensystem consistency