MathGroup Archive 2007

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

Search the Archive

RE: String to number

  • To: mathgroup at
  • Subject: [mg73206] RE: [mg73174] String to number
  • From: Robert Pigeon <robert.pigeon at>
  • Date: Wed, 7 Feb 2007 05:54:39 -0500 (EST)
  • Reply-to: robert.pigeon at

Maybe try ToExpression......

ToExpression["12"] will give you the number 12 !


Robert Pigeon
TZ = -5

-----Message d'origine-----
De : José Carlos Santos [mailto:jcsantos at]
Envoyé : Tuesday, February 06, 2007 03:19
À : mathgroup at
Objet : [mg73174] String to number

Hi all:

The ToString command generates a string from an expression. Is there a
similar command which generates numbers from strings? What I mean by
this is: is there a command (let's call it ToNumber) such that


generates the number 12?

Best regards,

Jose Carlos Santos

  • Prev by Date: Re: triggering on rising or falling edges?
  • Next by Date: Re: Point inside polygon
  • Previous by thread: Re: String to number
  • Next by thread: Re: String to number