Hi Cancerbero,
It seems that Cancerbero wrote:
So my suggesiont is to add a method String>>asFloat.
There are already some conversion methods you can use.
For example, Float readFrom: '3.14'. does what you want (it uses the Compiler to evaluate the text).
Perhaps you will want to anyway define String>>asFloat as
String>>asFloat ^ Float readFrom: self.
Character>>asDigit "Example : $4 asDigit will return the SmallInteger 4"
$4 digitValue does that conversion.
Bye!
German Morales (aka Yoda)