The new code considers that double zero has 2 characters and all the others only 1 character.
Type: Posts; User: Norm
The new code considers that double zero has 2 characters and all the others only 1 character.
I don't see any print statements in the updateText method for debugging.
You need to debug the code to see why it is doing what it is doing. Add some print statements to show the values of all the...
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES HERE**
to get highlighting and preserve formatting.
How are you trying to debug the code? To see what happens...
Can you post the code that is the problem?
Be sure to wrap in code tags.
If "00" is converted to a numeric value, it will print as 0.