Is there ToNumber?
- To: mathgroup at smc.vnet.net
- Subject: [mg119589] Is there ToNumber?
- From: Ted Sariyski <tsariysk at craft-tech.com>
- Date: Sat, 11 Jun 2011 03:59:24 -0400 (EDT)
- References: <isnllk$n7b$1@smc.vnet.net> <201106090945.FAA06238@smc.vnet.net>
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
- Follow-Ups:
- Re: Is there ToNumber?
- From: "Harvey P. Dale" <hpd1@nyu.edu>
- Re: Is there ToNumber?
- From: Heike Gramberg <heike.gramberg@gmail.com>
- Re: Is there ToNumber?
- From: "Dr. Peter Klamser" <klamser@googlemail.com>
- Re: Is there ToNumber?
- References:
- Re: How show axes labels with AxesOrigin->{0,0,0} in 3D?
- From: Peter Breitfeld <phbrf@t-online.de>
- Re: How show axes labels with AxesOrigin->{0,0,0} in 3D?