javascriptbignumbignumber.js

What is the meaning of `c`, `e`, and `s` in bignumber.js?


What are the meanings of the c, e, and s fields in the object produced by bignumber.js?

For example:

> new BigNumber('1234')
{ c: [1234], e: 3, s: 1 }
> new BigNumber('12345678901234567890')
{ c: [123456, 78901234567890], e: 19, s: 1 }

Solution