During the development of a project, I faced a strange behavior.
When I try to execute a basic subtraction between two values yield by two parseInt()
, I get a wrong value.
Lets see:
console.log(parseInt("002B36", 16))
console.log(parseInt("01000000", 16))