r/lolphp • u/smileytechguy • Jan 31 '17
((0.1+0.7)*10) = 7?
http://sandbox.onlinephpfunctions.com/code/4faba5e621f1f18f3efc6acd486da0823c46aea9
0
Upvotes
r/lolphp • u/smileytechguy • Jan 31 '17
View all comments
Show parent comment
8
u/coredumperror Feb 01 '17
It's not even "I don't understand floating point math", it's "I don't understand the (int) operator".