mi_string *mi_decimal_to_string(decimal_data)
mi_decimal *decimal_data;
The mi_decimal_to_string( ) function converts the internal DECIMAL value that decimal_data contains into a decimal string. An internal DECIMAL value is the format that the database server uses to store a value in a DECIMAL column of the database.
The mi_decimal_to_string( ) function formats the decimal string in the numeric format of the current processing locale. For more information, see the IBM Informix: GLS User's Guide.
See also the descriptions of mi_date_to_string( ), mi_datetime_to_string( ), mi_interval_to_string( ), mi_money_to_string( ), and mi_string_to_decimal( ).
For more information on how to convert internal DECIMAL values to decimal strings, see the IBM Informix: DataBlade API Programmer's Guide.