Home | Previous Page | Next Page   Data Manipulation > Using Numeric Data Types > Fixed-Point Data >

Obtaining Fixed-Point Type Information

The DataBlade API provides the following functions to obtain the scale and precision of a fixed-point (DECIMAL and MONEY) data type.

Source DataBlade API Functions
For a data type mi_type_precision( ), mi_type_scale( )
For a UDR argument mi_fp_argprec( ), mi_fp_setargprec( ), mi_fp_argscale( ), mi_fp_setargscale( )
For a UDR return value mi_fp_retprec( ), mi_fp_setretprec( ), mi_fp_retscale( ), mi_fp_setretscale( )
For a column in a row
(or field in a row type)
mi_column_precision( ), mi_column_scale( )
For an input parameter in a prepared statement mi_parameter_precision( ), mi_parameter_scale( )
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]