Re: Is there ToNumber?
- To: mathgroup at smc.vnet.net
- Subject: [mg119596] Re: Is there ToNumber?
- From: "Dr. Peter Klamser" <klamser at googlemail.com>
- Date: Sat, 11 Jun 2011 06:51:54 -0400 (EDT)
- References: <isnllk$n7b$1@smc.vnet.net> <201106090945.FAA06238@smc.vnet.net> <201106110759.DAA00259@smc.vnet.net>
... ToExpression["1+1"] One Hint: If you know a function in Mathematica like "ToString", you mentioned in your email, look in the help system in the section "see also", there you find ToExpression["1+1"]. Kind regards Peter Am 11.06.2011 09:59, schrieb Ted Sariyski: > 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 > -- Mit freundlichen Grüßen Uta& Peter Klamser
- References:
- Re: How show axes labels with AxesOrigin->{0,0,0} in 3D?
- From: Peter Breitfeld <phbrf@t-online.de>
- Is there ToNumber?
- From: Ted Sariyski <tsariysk@craft-tech.com>
- Re: How show axes labels with AxesOrigin->{0,0,0} in 3D?