Fix utils method for integer & cents
Merge pull request #1020 from gannetson/new-pitch

Fix utils method for integer & cents