|
[Date Index]
[Thread Index]
[Author Index]
Re: Is there ToNumber?
ToExpression.
Best,
Harvey
-----Original Message-----
From: Ted Sariyski [mailto:tsariysk at craft-tech.com]
Sent: Saturday, June 11, 2011 3:59 AM
To: mathgroup at smc.vnet.net
Subject: [mg119605] Is there ToNumber?
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
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
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?
|