Bugfix: Explicitly convert values to float

On Python 3, int/int will automatically be converted to float if
necessary.  On Python 2, however, it won't, and will just discard the
fractional parts of the result.

This bug led proportional agent assignments by object weight not working
right.