How can I handle numbers bigger than 17-digits in Firefox/IE7?

后端 未结 4 1342
遇见更好的自我
遇见更好的自我 2020-12-06 12:06

For a web application I want to be able to handle numbers up to 64 bits in size. During testing, I found that javascript (or the browser as a whole) seems to handle as much

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-06 12:35

    You could try to split them into two or more numbers (in a class maybe), but you'll might need some arithmetic helper functions to work with them.

    Cheers

提交回复
热议问题