Testing if a String is a number

Damien Cassou damien.cassou at laposte.net
Thu Jul 6 05:49:48 UTC 2006


> Do you mean "responds to arithmetic messages" or "could be converted
> into something that responds to arithmetic messages"?  #isNumber means
> the first (to me); your use seems to be the second.  Given that I have
> code that tests for #isNumber before sending (eg) #+ to an object, I'd
> be unhappy about the second use!

Ok, I'm sorry. I meant #stringIsNumber that test if a string is a 
representation of a number: '123' for example.



More information about the Squeak-dev mailing list