MathGroup Archive 2007

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

Search the Archive

Re: Real to String


x = 1.2345;

xs = ToString[x];

xs // InputForm

"1.2345"


Bob Hanlon

---- Kurda Yon <kurdayon at yahoo.com> wrote: 
> Hi,
> 
> 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".
> 
> I cannot find the answer in the Mathematica help. Could you pleas help me?
> 
> Thank you in advance.
> 



  • Prev by Date: Re: Eigensystem consistency
  • Next by Date: Re: Real to String
  • Previous by thread: Real to String
  • Next by thread: Re: Real to String