Re: Real to String
- To: mathgroup at smc.vnet.net
- Subject: [mg84016] Re: Real to String
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 6 Dec 2007 07:26:03 -0500 (EST)
- Organization: Uni Leipzig
- References: <fj89ef$a5f$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, ToString[expr] gives a string corresponding to the printed form of expr in OutputForm. Regards Jens Kurda Yon 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. >