AdsSetDecimals
Sets the default number of decimals recorded for the session.
Syntax
UNSIGNED32 AdsSetDecimals(UNSIGNED16 usDecimals);
Parameters
| Parameter | Type | Description |
|---|---|---|
usDecimals |
UNSIGNED16 |
Default number of decimal places. |
Return Value
AE_SUCCESS (0).
Description
AdsSetDecimals records the default decimal-place count (the SET DECIMALS setting). It is stored for ACE API parity; OpenADS reads and writes numeric fields at their schema-defined precision regardless of this value.
Example
AdsSetDecimals(4);