I have numbers in javascript from 01(int) to 09(int) and I want add 1(int) to each one.
For example:
01 + 1 = 2
02 + 1 = 3
But
08 + 1 = 1
09 + 1 = 1
I know the solution. I've defined them as float type.
But I want to learn, what is the reason for this result?
Thank you.