JavaScript converts integers with more than 21 digits to scientific notation when used in a string context. I’m printing an integer as part of a URL. How can I prevent the conversion from happening?

25 Answers
25

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *