Float readFrom:'1e0.5' print it ->1.0 1 * (10 raisedTo:0.5) print it -> 3.1622776601683795
What am I missing here?
thank you for your time.
-- Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
Figured it out. PHP is a crap language.
https://meta.wikimedia.org/wiki/Help:Calculation#Operators,_numbers,_and_con...
*e between subexpressions *10^ * pow (10,..) *
The PHP definition states Powers of 10. I saw the "e" and assumed Floating Point.
Did I mention PHP sucks?
Thank you for your time.
-- Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
beginners@lists.squeakfoundation.org