On Monday 16 August 2010 16:49:45 bearophile wrote:
> Jonathan M Davis:
> > A string with whitespace is _not_ a number.
> 
> I will not agree with this this (I am talking about leading/trailing
> whitespace only). Regarding the other things you say, I have already given
> answers to them.
> 
> Bye,
> bearophile

Why don't you just use parse()? It allows for leading whitespace, and it's 
really the function that's intended for turning strings into other types if 
it's 
not an exact conversion.

- Jonathan M Davis

Reply via email to