pub unsafe extern "C" fn duckdb_create_decimal_type(
width: u8,
scale: u8,
) -> duckdb_logical_typeExpand description
Creates a DECIMAL type with the specified width and scale.
The resulting type should be destroyed with duckdb_destroy_logical_type.
@param width The width of the decimal type. Must be between 1 and 38.
@param scale The scale of the decimal type. Must not exceed the width.
@return The logical type, or nullptr if the width or scale are out of range.