HabitRPG/habitrpg-shared — pull request #21 by djuretic (2013-09-24 02:06:35+00:00)
Title: Corrected rounding of gold & silver calculations

This should fix https://github.com/lefnire/habitrpg/issues/1560.
For example, if I have 1.957 "coins", under the old code that is converted to 2 gold and 96 silver, instead of 1 gold and 95 silver.