CodeChain-io/codechain-primitives-js

Add toLocaleString() to the integer classes

Closed this issue · 1 comments

Example

const n = new U64(1000000);
console.log(n.toLocaleString()); // 1,000,000