Use getCurrencyCode instead of getSymbol

**Description:** Use getCurrencyCode instead of getSymbol and clean up style.
**Testing:** made the tests pass on my box