MathGroup Archive 2005

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

Search the Archive

Re: Converting from string to integer


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