19a08558e3
This caused a NumberFormatExeption when trying to convert the string representation of a double to an int. Fixed by floor'ing the value.