![]() |
|
The mi_binary_to_money() function creates a text (string) representation of a monetary value from the binary (internal) MONEY representation.
The mi_money_to_string() function converts the internal MONEY value that money_data contains into a monetary string. An internal MONEY value is the format that the database server uses to store a value in a MONEY column of the database.
Important: The mi_money_to_string() function replaces the mi_binary_to_money() function for internal MONEY-to-string conversion in DataBlade API modules.
The mi_money_to_string() function formats the monetary string in the monetary format of the current processing locale. For more information, see the Informix Guide to GLS Functionality.
mi_string * | is a pointer to the monetary string equivalent of money_data. |
NULL | indicates that the function was not successful. |
See the descriptions of the following functions: mi_date_to_string(), mi_datetime_to_string(), mi_decimal_to_string(), mi_interval_to_string(), and mi_string_to_decimal().
For more information on how to convert internal MONEY format to monetary strings, see Converting Decimal Data.