Convert a float number representation to a fixed point decimal. Defaults to 18, which is X18 in contracts ex. toFixedPoint(3.14, 2) => bigint("314").
Number of decimals to include in the fixed point representation
Convert a float number representation to a fixed point decimal. Defaults to 18, which is X18 in contracts ex. toFixedPoint(3.14, 2) => bigint("314").