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 FairCom DB API error on failure.
The possible error associated with ctdbCurrencyMu()l is:
See also
ctdbCurrencyAdd(), ctdbCurrencySub(), ctdbCurrencyMul(), ctdbCurrencyDiv(), ctdbCurrencyCmp(), ctdbCurrencyAbs()