MathGroup Archive 2010

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

Search the Archive

Convert string list to number list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106604] Convert string list to number list
  • From: Canopus56 <canopus56 at yahoo.com>
  • Date: Mon, 18 Jan 2010 02:34:43 -0500 (EST)

On importing a space delimited text file,  I have an extracted list of zero-padded two-digit integers in the form: Amylist{"00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"}  How do I convert these to real numbers or integers? Thanks - Kurt  I have reviewed the Mathematica documentation and a few books looking for the equivalent of a simple string-to-number function like vba's "Value".  Could not find an answer. Thanks.       


  • Prev by Date: Discrete event simulation
  • Next by Date: Calculating zeta(1+it) for t in range of 10^12 accurately
  • Previous by thread: Re: Discrete event simulation
  • Next by thread: Re: Convert string list to number list