MathGroup Archive 2005

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

Search the Archive

Re: Converting from string to integer


   ToExpression["123"]

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
> 
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Converting from string to integer
  • Next by Date: Re: Working with huge text files with mathematica
  • Previous by thread: Re: Converting from string to integer
  • Next by thread: Re: Converting from string to integer