Re: error in value()?
- Posted by Rolf Schroeder <schroeder at DESY.DE> Dec 09, 1998
- 346 views
Lewis Townsend wrote: ... > > Yes, here's what my computer output: > > {0,1} > {0,2} > {0,3} > {0,4} > {1,0} > {0,6} > {0,1} > {0,2} > {0,3} > {0,4} > {1,0} > {0,6} > > I guess, the value of "5e" and "5E" should be both {0,5}! ... I think value() translates each string into a number as long as there is no letter from the beginning of the string. However, in case it finds an 'E' or 'e' it has to account for the possibility it could be an number written with the exponential format. In my opinion it should check in such cases for numbers (with possible sign) after the 'E' or 'e'. Even better might be to return in all cases like "1a" with {1,0}! ... > I'm sure some of our gurus can explain it. I hope so... By the way, Lewis, you send your mail to my privat address , not to EUPHORIA at LISTSERV.MUOHIO.EDU . Have a nice day, Rolf