stupid-questions:
Well, I don't really know what method I would use. I mean, when I had tested my PS2 >> TEA567 Code, I was typing the decimal point. So, I was assuming the user would type the decimal point. However, if the other method is somehow better, then I am definatly willing to use it. I guess if both methods are really the same, I would go with the user typing the decimal. But if not, I would go with whatever option is better!
Isn't programming fun? You write a little bit of code to read user input and next you have to write five or ten times as much to validate that user input. Your code needs to validate what the user enters; e.g it needs to be in the format 123.45 or it needs to be 12345. Up to you.
Note
I once added one variable to a C# program configuration and had to add 150 lines of validation (about 30 checks, including telling the user that there were mistakes); you're warned ![]()