adding code for decimals
Merge pull request #2 from jensopetersen/patch-2

adding code for decimals