News for hackers. Stuff that matters.
Re:What number is halfway between 1 and 9? by nostromo on Monday October 08, 2012 @03:16PM (#4628356)
4.5 is halfway between 0 and 9. Halfway between 1 and 9 is 1+(9-1)/2 = 5
Re:What number is halfway between 1 and 9? by JoeAltmaier on Monday October 08, 2012 @03:23PM (#4628377)
Nu-uh. By that math, halfway between 1 and 2 is.... 1?!
Re:What number is halfway between 1 and 9? by jlgreco on Monday October 08, 2012 @04:19PM (#4628589)

  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.
Re:What number is halfway between 1 and 9? by kylebrown on Monday October 08, 2012 @03:28PM (#4628395)
his formula is correct. you made a mistake in the order of operations.