Re: Real to String
- To: mathgroup at smc.vnet.net
- Subject: [mg84013] Re: [mg83982] Real to String
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Thu, 6 Dec 2007 07:24:29 -0500 (EST)
- Reply-to: hanlonr at cox.net
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. >