The bigintcvdec() function
The bigintcvdec() function converts a decimal type number to a BIGINT type number.
Syntax
mint bigintcvdec(decp, bigintp)
const dec_t *decp
bigint *bigintp
- decp
- A pointer to the decimal structure that contains the value to convert to a bigint value.
- bigintp
- A pointer to a bigint variable to contain the result of the conversion.
Return values
- 0
- The conversion was successful.
- <0
- The conversion failed.