I copied the first number from the Windows calculator and dialed the second. In the Chrome console, I get:
"65033" == "65033"
//false
65033 == 65033
//Uncaught SyntaxError: Invalid or unexpected token
It seems that at the beginning and at the end there is an unknown character.
1) Is there a way to cut off all the “weird” characters without knowing them a priori?
2) Why does the window calculator put such characters in a number?
Edit: It was not explicit in the question, but any characters with reliable information, such as ã, ü, ç, ¢, £, would also be valid. What I do not want are characters that do not contain any information for the reader.
source
share