FairCom Corporation


4.3.44 ctdbCurrencyRound


Round a currency value to a given number of decimal places.

Declaration

CTDBRET ctdbCurrencyRound(pCTCURRENCY value, NINT scale)

Description

ctdbCurrencyRound rounds a currency value to a given number of decimal places.

Returns

ctdbCurrencyRound returns CTDBRET_OK on success, or c-treeDB C API error on failure.

The possible error associated with ctdbCurrencyMul is:

See also

ctdbCurrencyAdd, ctdbCurrencySub, ctdbCurrencyMul, ctdbCurrencyDiv, ctdbCurrencyCmp, ctdbCurrencyAbs


FairCom Corporation
www.faircom.com