API Reference › BigInt › BigInt.neg
method

BigInt.neg

BigInt.neg(a) -> BigInt

Returns -a — the same magnitude with the opposite sign.

Example

program Demo {
  handler Step phase Update {
    let debt = BigInt.neg(balance)
  }
}
← All symbols