Re: Converting from string to integer
- To: mathgroup at smc.vnet.net
- Subject: [mg56399] Re: [mg56373] Converting from string to integer
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Sun, 24 Apr 2005 03:28:50 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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.