fix floating point arithmatic with a round
add test case from paperclip
Merge branch 'fix_floats'