Closed sif-baldr closed 2 years ago
I tried the basic example among others:
y = new BigNumber('1234567.898765') y.toFormat(2)
I get the following error each time even though the value is a BigNumber:
Uncaught (in promise) TypeError: y.toFormat is not a function
Perhaps you're using an earlier version of this library.
You have not provided enough information for me to assist further. Closing.
I tried the basic example among others:
I get the following error each time even though the value is a BigNumber:
Uncaught (in promise) TypeError: y.toFormat is not a function