Append or Add the decimal point functionality in calculator
问题 I'm trying to add the dot functionality to my calculator but I have been struggling getting it to work. So far what it does is that adds the decimal point but then when I press another number what it does is add 0 regardless the number you pressed.. Example: user input 9 (dot operation/decimal) and then 5 = to 9.0 Which of course is totally incorrect. Finally, I'm posting specifically the dot function and the number 9 which are the ones that produce that answer. Header file.. int Method;