multiply method

BigInt multiply(
  1. double other
)

Implementation

BigInt multiply(double other) {
  final _other = shiftLeftBigInt(other, other.decimals);
  final result = this * _other;

  return discardRightBigInt(
    result,
    other.decimals,
  );
}