when I try to convert a long number to a string and an array by using google dev tool, I got a problem.
let m=123000000000000000000000000000000
//1.23e+32
m=m+'good'
//"1.23e+32good"
// instead of "123000000000000000000000000000000good"
I plan to get the result of ["1","2","3","0",....."0"],but now I'm stuck. anyone know how to solve this? Thanks.
Intl.NumberFormat is a good way, but when I try a long number:
Intl.NumberFormat('en-US', {useGrouping: false}).format(73167176531330624919225119674426574742355349194934)
//"73167176531330600000000000000000000000000000000000"
ops. There is still an issue.