Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I should probably word this better.

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: