Fix decimal display and discount calculation.
Merge pull request #72 from popcm/release-1.1

Fix decimal display and discount calculation.