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

String to number

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73174] String to number
  • From: José Carlos Santos <jcsantos at fc.up.pt>
  • Date: Tue, 6 Feb 2007 03:19:04 -0500 (EST)

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

ToNumber["12"]

generates the number 12?

Best regards,

Jose Carlos Santos


  • Prev by Date: Re: Problem with new Mathematica Installation on Linux
  • Next by Date: Re: NIntegrate - problems with HoldAll property(?)
  • Previous by thread: Re: NIntegrate - problems with HoldAll property(?) - still not a
  • Next by thread: Re: String to number