Implement currency formatting

Fix #238