The bigintcvdbl() function

The bigintcvdbl() function converts a double type number to a BIGINT type number.

Syntax

mint bigintcvdbl(dbl, bigintp)
	const double dbl
	bigint *bigintp
dbl
The double value to convert to bigint.
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.