07-27-2022, 10:42 PM
Ah, now I see more of what is causing the problem. You are converting string to val and back WHILE you are still entering the number. Axe that. Don't convert the string to num until you hit a computation button.That way, you won't get .308 being processed three times as .3 followed by .30 (which val truncates to .3 and converts to string .3, and then when you input to 8, you get .38 instead of .308. If you waited until the plus sign, minus sign, or whatever computation button was pressed, the val of the string .308 would be val .308, no problem.
Unfortunately, this would require rewriting the flow of the code.
Pete
Unfortunately, this would require rewriting the flow of the code.
Pete
If eggs are brain food, Biden takes his scrambled.