The FormatMoney method

This method creates a money string from the mi_money structure pointed to by m.

ITString FormatMoney(const mi_money *m, 
                 const ITString 
                 &format = ITString::Null) const

Use the format parameter to specify the format of the date string. If you set format to NULL (the default), the format is determined by the environment.

If you do not specify NULL for the format, you must pass a string to format defining the format of the internal representation.

This method returns a number string.

If there is an error, this method returns an empty ITString object. Call ITLocale::GetError() to retrieve a specific error message.