Aarghhhhh!!! I just asked how to input numbers only and now I have the problem that when I insert a number with code such as:
tbNum.Text = Convert.ToString(double.Parse(tbPerc.Text));
The number is an int
instead of a double
. Therefore I get something like 5623 instead of 562,3. I have set InputScope to number if it helps. Thanks!!!
In facts I have some calculations inside the Convert.ToString method but this isn't relevant because the returned value of a calculation between doubles is double.