tags:

views:

82

answers:

1

Is there a library available in javascript to handle large numbers with accuracy (sort of like what oracle does by storing the number as a string) and allows for operations like add/subtract/multiply/divide/mod/etc ?

Basically I need to add large numbers like 1234567890.1234567890 + 1234567890.987654321 and get a precise result.

+2  A: 
ephemient
Native decimal support was cut from the ECMAScript 5 spec
peller
I guess this will have to do for now. A shame JS does not have a built-in mechanism for exact math.
Dmitriy Likhten