[Newbies] Float readFrom:'1e0.5' does not equal 1 * (10 raisedTo:0.5)
tty
gettimothy at zoho.com
Mon May 25 21:46:17 UTC 2020
Figured it out. PHP is a crap language.
https://meta.wikimedia.org/wiki/Help:Calculation#Operators,_numbers,_and_constants
*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
More information about the Beginners
mailing list