Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg56406] Re: [mg56373] Converting from string to integer
  • From: "Matthias Bode" <lvsaba at hotmail.com>
  • Date: Sun, 24 Apr 2005 03:28:56 -0400 (EDT)
  • References: <200504230516.BAA03070@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Magnus,

Input:

ToExpression["0123"]

Output:

123

Best regards,

MATTHIAS BODE
Torres Sofer III, depto. 9 A
Pedro Borda #1072
esq. Ismael Vásquez
COCHABAMBA/BOLIVIA

CEL: +591-70 71 56 64
TEL/FAX: +591-4-4 53 34 17
LVSABA at HOTMAIL.COM
Time indicated: UTC (=GMT).



----- Original Message ----- 
From: "Magnus" <norge20_ at hotmail.com>
To: mathgroup at smc.vnet.net
Subject: [mg56406] [mg56373] Converting from string to integer


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


  • Prev by Date: Re: Converting from string to integer
  • Next by Date: Re: Converting from string to integer
  • Previous by thread: Converting from string to integer
  • Next by thread: Re: Converting from string to integer