Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: String to number

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73213] Re: String to number
  • From: José Carlos Santos <jcsantos at fc.up.pt>
  • Date: Thu, 8 Feb 2007 03:29:53 -0500 (EST)
  • References: <eq9bnn$mrf$1@smc.vnet.net>

On 06-02-2007 7:45, José Carlos Santos wrote:

> 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
> 
> ToNumber["12"]
> 
> generates the number 12?

Many thanks to all those who answered my question.

Best regards,

Jose Carlos Santos



  • Prev by Date: Re: Trouble accessing "Windows"-type Mathematica
  • Next by Date: DSolve y'[t]==y[t-a]
  • Previous by thread: Re: String to number
  • Next by thread: Point inside polygon