Fix for #245 (no thousand separator in format output)

Fixes format output for currencies with decimal mark in the
symbol string. E.g. "р." or "դր.". 

This is related and fixes issue #245.