Borgatti
Friday, 27 September 2013
php return wrong value
php return wrong value
I am trying to calculate this in php :
echo (int)((0.1 + 0.7) * 20);
why it return 15
Expected result: 16
Actual result:15
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment