[Date Index] [Thread Index] [Author Index]
Re: Is there ToNumber?
You could try ToExpression Heike. On 11 Jun 2011, at 08:59, Ted Sariyski wrote: > Hi, > 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]; > Close[ch]; > > but I suspect there is easier way. > Thanks in advance, > --Ted >