Skip to content

BigInt.Shift

Name Mandatory Description Default Type
⬅️ Input Big integer represented as bytes. Bytes
Output ➡️ Outputs the big integer with its decimal point shifted represented as bytes. Bytes
By No The number of decimal places to shift the input big integer by. A positive number shifts the decimal point to the right, while a negative number shifts it to the left. 0 IntVar(Int)

This shard shifts the decimal point of the input big integer by the amount specified in the By parameter.

Examples

1
2
4200 | BigInt = expected
42 | BigInt | BigInt.Shift(By: 2) | BigInt.Is(expected) | Assert.Is(true Break: true)