Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Blood filled bath house  (Read 3832 times)

MadocComadrin

  • Bay Watcher
  • A mysterious laboratory goblin!
    • View Profile
Re: Blood filled bath house
« Reply #15 on: October 14, 2011, 10:25:36 am »

good old integer math:

2.4 + 2.4 = 4.8

after rounding :

2+2 = 5.
Depends on the language, really. Most of the time, integer math truncates.
Logged
Pages: 1 [2]