0

I have a problem, I wanted to separate this big number with " , " but tolocalestring leaves zero after 16 digits, how to remove this restriction? Or is there another way to arrange my number?

const input = "92582958294852945892458"
const expected_output = "92, 582, 958, 294, 852, 945, 892, 458"
const actual_output =   "92,582,958,294,852,950,000,000"
Simon Laux
  • 382
  • 1
  • 14
Mobin
  • 1
  • 1

0 Answers0