Y
Hacker News
new
|
ask
|
show
|
jobs
by
JoeAltmaier
5005 days ago
Nu-uh. By that math, halfway between 1 and 2 is.... 1?!
2 comments
jlgreco
5005 days ago
1+(2-1)/2 1+(1)/2 1.5
It only equals 1 if you are using ints ;) I do that more often than I care to admit, I blame programming.
link
kylebrown
5005 days ago
his formula is correct. you made a mistake in the order of operations.
link