Support float numbers for to and from

I needed to count to 7.6 (float number) so I used parseFloat instead of parseInt on the "to" and "from" options.
Merge pull request #8 from eithe/master

Support float numbers