money_format doesn't exist on windows so substitute it

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