Numbers are represented in dnum using a pair of integer + precision decimals. For example, this is the number 1.0 with a precision of 18 decimals:
[1000000000000000000n, 18]
A number cannot have less decimals than none, so this is why this error exists.
Numbers are represented in dnum using a pair of integer + precision decimals. For example, this is the number 1.0 with a precision of 18 decimals:
[1000000000000000000n, 18]
A number cannot have less decimals than none, so this is why this error exists.