API Reference › BigInt › BigInt.mul
method

BigInt.mul

BigInt.mul(a, b) -> BigInt

Returns the exact product a * b. Multiplying two large counters never loses precision — the classic idle-game growth step.

Example

program Demo {
  handler Step phase Update {
    let next = BigInt.mul(count, multiplier)
  }
}
← All symbols