AdsSetDecimals

Advantage Client Engine

Controls the resulting number of decimal places in a division, modulus, or exponentiation operation in an index or filter expression evaluated in the expression engine

Syntax

UNSIGNED32

AdsSetDecimals (UNSIGNED16 usDecimals);

Parameters

usDecimals (I)

Number of decimals. The default is 2.

Remarks

AdsSetDecimals determines the number of decimal places saved in the results of numeric functions and calculations.

AdsSetDecimals is a global setting that affects the behavior of the entire application.

Example

Click Here

See Also

AdsGetDecimals

AdsCreateIndex

AdsSetFilter

AdsInitRawKey

AdsBuildRawKey