money_format doesn't exist on windows and substitute

The function money_format is not available on windows systems so this is a replacement.
why these comments, this looks all messed up, indentation as well