Math.floor instead of rounding 

Should fix https://github.com/lefnire/habitrpg/issues/236#issuecomment-13126649