Handle Big Numbers
Sentio SDK uses javascript's native bigint
for big integer calculations. However, if you want to do operations like division, you need to convert it to BigDecimal
, otherwise, you may lose precision during the operation. We do provide utils for bigint
to convert to BigDecimal
.
Last updated