0

data type validation error message

I'm trying to display an error message when the wrong data type has been entered by the user for example I have one line that's intended for integers and I want to display an error message that tells the user the input can't be a decimal I'm using if statements and try parse to store the values but I believe I'm doing something wrong any suggestions?

11th Aug 2016, 3:36 AM
abbanob kiryakoz
abbanob kiryakoz - avatar
1 Resposta
0
You could try to round the number from decimals to intergers.
11th Aug 2016, 2:26 PM
Andreas BeEm Kvist
Andreas BeEm Kvist - avatar