money_format doesn't exist on windows and substitute

The function money_format is not available on windows systems so this is a replacement.