Client APIs
API Reference Overview
Creates a DECIMAL type with the specified width and scale.
The resulting type should be destroyed with `duckdb_destroy_logical_type`.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_logical_type duckdb_create_decimal_type(
uint8_t width,
uint8_t scale
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `width`: The width of the decimal type
* `scale`: The scale of the decimal type  
###### Return Value {#docs:api:c:api::return-value}  
The logical type.  
<br>