Viewing profile — Dajve_Bloke
Dajve_Bloke
HN member- Joined
- Fri, Jun 28, 2019, 3:12 PM UTC
- HN karma
- 1
- Public activity
- 2 items
- HN profile
- View on Hacker News ↗
About Dajve_Bloke
No profile information was provided.
Recent public activity
-
comment
Comment #20305551
NB - you get the same result in MS-SQL (and for exactly the same reason). Ruby behaves like SQL in that appending a decimal to the values results in non-integer maths being employe…
-
comment
Comment #20305096
289/30 = 9 as it's truncating the non-integer part of the operation. So the calculation evaluates to 270 - 120 = 150