Support float numbers

I needed to count to 7.6 (float number) so I used parseFloat instead of parseInt on the "to" and "from" options.

You might want to do this some other way in your code, but this little change worked for me :)