Added support for percentages with decimals.
Modified to work with percentages with decimals.
Merge pull request #1 from XXLuigiMario/master

Support to work with percentages with decimals.