Implement currency formatting

- [x] Implementation
- [x] Tests
- [x] Doc

Fix #238 
`cldr` is used more than once throughout this function. Assigning it to a variable helps making code more readable and reduces final bundle size after minification.