|
pure virtual |
Return the closest integer to the floating point "withDecimal" parameter.
For example, round( 4.6 ) returns 5, and round( 3.2 ) returns 3.
withDecimal | [ in ] A numeric value with a value after the decimal point (e.g., 4.6) |
pToInteger | [ out ] Round the withDecimal number up or down to the closest integer. |
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eNotInitialized | A successful call to initialize has not been done. |