Skip to content

BigInt.ToFloat

Name Mandatory Description Default Type
⬅️ Input The big integer to convert, represented as bytes. Bytes
Output ➡️ Floating point number representation of the big integer value. Float
ShiftedBy 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 Int

This shard converts the input big integer value to a floating point number.

Examples

1
3 | BigInt | BigInt.ToFloat(ShiftedBy: 1) | Assert.Is(30.0 Break: true)