Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Re: Is there ToNumber?


-----Original Message-----
From: Ted Sariyski [mailto:tsariysk at]
Sent: Saturday, June 11, 2011 3:59 AM
To: mathgroup at
Subject: [mg119605] Is there ToNumber?

Is there a built-in function which returns the numeric value of a string

(like ToString but inverse).  Currently I use mine function toNumber:

  ch = StringToStream[timeStr];
  timeNum = Read[ch, Number];

but I suspect there is easier way.
Thanks in advance,

This email has been scanned by the MessageLabs Email Security System.
For more information please visit

  • Prev by Date: Aw: mathematica 8 and psfrag
  • Next by Date: Re: Is there ToNumber?
  • Previous by thread: Re: Is there ToNumber?
  • Next by thread: Re: Is there ToNumber?