petehuang/Projects — pull request #1 by namwen (2013-10-19 16:25:19+00:00)
Title: Fix error that misses some coins

The original version skips some coins in certain cases. For instance, entering cost: 13.89 and then amount: 15, doesn't give back the last penny.

To fix it I rounded the change_due to two decimal places and changed the while loop conditional to a >=