Split float-int conversion algorithm up for clarity
Merge branch 'pull-request/72'