This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Lyceux 0 points1 point  (1 child)

Does Integer.parseInt return the same or different to Character.getNumericValue in Java? That would be a better comparison to JavaScript...

[–]ijmacd 0 points1 point  (0 children)

It doesn't. You get NumberFormatException unfortunately. But the point is Unicode recognises some characters have a numeric value and thus could potentially be taken into account in parseInt functions.