The product keeps the numeric type of the multiplicand. A number multiplicand multiplies as an IEEE 754 double.
A bigint multiplicand yields an exact bigint product, whatever the magnitude of the operands.
Multiplying a bigint requires a finite integral factor, as the factor is converted to a bigint first.
Type Parameters
Vextendsnumber|bigint
The numeric type of the multiplicand and of the product
Multiplies a numeric value by a factor.
The product keeps the numeric type of the multiplicand. A
numbermultiplicand multiplies as an IEEE 754 double. Abigintmultiplicand yields an exactbigintproduct, whatever the magnitude of the operands.Multiplying a
bigintrequires a finite integral factor, as the factor is converted to abigintfirst.