12

I just said out loud to the computer: So, is 1 bigger than 1?
Sometimes I think how funny would be someone watching a programmer.

Comments
  • 0
    @Demolishun computers are always so smart

    (0.29 * 100).to_i

    => 28
  • 2
    @math-silva someone has to learn the difference between proper rounding and cutting off the decimal part.
  • 0
    @iiii I never understood why anyone would want to do that with floats unless explicitly specified.
Add Comment