MathGroup Archive 2005

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

Search the Archive

Re: Converting from string to integer


Hi Magnus,

> I have strings consisting of numbers. Now; how do I make them 
> all of integer type?
> 
> Ex:
> "0123" ---> 123

One way is  
	Read[StringToStream["0123"], Number]

Head[%] tells you the results is an Integer

Regards,

Dave.


  • Prev by Date: Re: Re: Re: multiple 3d plots
  • Next by Date: Re: Converting from string to integer
  • Previous by thread: Re: Converting from string to integer
  • Next by thread: Re: Converting from string to integer