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

Obtaining Floating-Point Type Information

The DataBlade API provides the following functions to obtain the precision of a floating-point DECIMAL (DECIMAL(p)).

Source DataBlade API Functions
For a data type mi_type_precision( )
For a UDR argument mi_fp_argprec( ), mi_fp_setargprec( )
For a UDR return value mi_fp_retprec( ), mi_fp_setretprec( )
For a column mi_column_precision( )
For an input parameter in a prepared statement mi_parameter_precision( )

Tip:
The FLOAT and SMALLFLOAT data types do not have precision and scale values.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]