Numeric-formatting functions
Special functions are provided, which allow you to format numeric expressions for display.
These formatting functions apply a given formatting mask
to a numeric value to allow you to line up decimal points, right or left
align the number, enclose a negative number in parentheses, and other
formatting features. The Informix®
ESQL/C library includes
the following functions that support formatting masks for numeric
values.
Function name | Description | See |
---|---|---|
rfmtdec() | Converts a decimal value to a string | The rfmtdec() function |
rfmtdouble() | Converts a double value to a string | The rfmtdouble() function |
rfmtlong() | Converts a 4-byte integer value to a string | The rfmtlong() function |