Skip to content

BigInt.Subtract

Name Mandatory Description Default Type
⬅️ Input Any valid big integer(s) represented as bytes supported by this operation. Bytes[Bytes]
Output ➡️ Outputs the result of the operation as a big integer or sequence of big integers represented as bytes. Bytes[Bytes]
Operand No The big integer to subtract from the input as bytes. 0 Var(Bytes)Var([Bytes])

This shard subtracts the input big integer from the big integer specified in the Operand parameter and outputs the result.

Examples

1
2
3
4
5
6
5 | BigInt = expected
2 | BigInt = operand

7 | BigInt
BigInt.Subtract(Operand: operand)
BigInt.Is(expected) | Assert.Is(true true)