MathGroup Archive 2011

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

Search the Archive

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,

  • Prev by Date: mathematica 8 and psfrag
  • Next by Date: Merging manual 2D drawing with 2D Graphics promitives
  • Previous by thread: Re: How show axes labels with AxesOrigin->{0,0,0} in 3D?
  • Next by thread: Re: Is there ToNumber?