bcosca/fatfree — pull request #302 by xfra35 (2013-04-08 15:32:10+00:00)
Title: Issue#302

Hi, the currency format functionnality should be improved to fit all the possible configurations. For example, here are the values returned by `{{@price,-12.95|format}}` for a few different locales, compared with `money_format` results:

Locale	Fat-free format	PHP money_format

en_US	$-12.95	-$12.95

fr_FR	€-12,95	-12,95 €

ru_RU	руб-12,95	-12,95 руб

da_DK	kr-12,95	kr -12,95

I added support to the code, following what is defined in the C99 standard. Test script [here](http://534f.de/TFg2Xj6V).
Optionally we can use `money_format` if available.