1

A string representation works for integers >= 2^1024: see https://github.com/rauschma/strint.

However, I need these values to have more accuracy than integers. Additionally I need to handle multiplication, powers, and division of these large numbers. The final result will be be small enough to be a JavaScript number.

DaBuj
  • 183
  • 1
  • 2
  • 5

1 Answers1

2

Related to: Is there a decimal math library for JavaScript?

There are a few libraries proposed in the answers there.

Community
  • 1
  • 1
Ozan Bellik
  • 483
  • 2
  • 6