Two lines, one fix

A fix so important that it needs a title and description saying what it
fixes.
Changes the integers put into the item to floats so they can be
multiplied correctly.