Fixes #245 (format output problem)

Fixes format output for currencies with decimal mark in the
symbol string. E.g. "р." or "դր."
Merge pull request #246 from alup/master

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