bigIntDivTrunc
bigIntDivTrunc(
dividend,divisor):bigint
Defined in: packages/core/src/big-int/div-trunc.ts:8
Truncating division — rounds toward zero, as bigint’s own / does.
bigIntDivTrunc(-7n, 2n) === -3n.
Parameters
Section titled “Parameters”dividend
Section titled “dividend”bigint
divisor
Section titled “divisor”bigint
Returns
Section titled “Returns”bigint
Throws
Section titled “Throws”When divisor is zero.