MathGroup Archive 2005

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

Search the Archive

Re: Converting from string to integer

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56443] Re: Converting from string to integer
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Tue, 26 Apr 2005 01:32:43 -0400 (EDT)
  • References: <d4clnt$33b$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Magnus wrote:
> Hey folks,
> 
> I have strings consisting of numbers. Now; how do I make them all of integer
> type?
> 
> Ex:
> "0123" ---> 123
> 
> Thanks,
> 
> Magnus,
> Norway
> 
> 
ToExpression["0123"] will do this.

David Bailey
dbaileyconsultancy.co.uk


  • Prev by Date: Re: Shell script and Mathematica.
  • Next by Date: Re: multiple choice IF condition
  • Previous by thread: Re: Converting from string to integer
  • Next by thread: convert table into graphics object