Skip to content

BigInt.ToFloat

Name - Description Default Type
<input> Big integer represented as bytes. Bytes
<output> Floating point number representation of the big integer value. Float
ShiftedBy The shift is of the decimal point, i.e. of powers of ten, and is to the left if n is negative or to the right if n is positive. 0 Int

Converts a big integer value to a floating point number.

Examples

1
2
3
4
5
3 (BigInt)
(BigInt.ToFloat
 ;:ShiftedBy
 1)
(Assert.Is (float 30.0) true)