Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 362 Bytes

File metadata and controls

23 lines (15 loc) · 362 Bytes

iexec


iexec / BN

Interface: BN

class used for big numbers manipulation

example:

const one = new BN(1);
const two = new BN('2');

// work above Number.MAX_SAFE_INTEGER limit
const maxSafeInteger = new BN(Number.MAX_SAFE_INTEGER);
const maxSafeIntegerPlusOne = maxSafeInteger.add(one);

Extends

  • BN