IHMO, you should 

1. save current locale
1. set the locale
1. use `money_format`
1. restore current locale
1. return the result.

And don't forget there is a blank line before each `return`.