- Decoupled currency placement from JDK NumberFormat implementation.
- Added tests with additional whitespaces, including newlines, to 
  ensure robustness.