I have a textbox that the user can input into. Right now the user can enter in anything, but I would like to limit the user.
- I first need to only allow numbers from the user that are negative or positive, and/or decimal (up to 3 digits).
In the RichTextBox the data looks like this:
227.905
227.905
242.210
-236.135
5.610
29.665
269.665
SO, what I am trying to do is add the string value from the TextBox to each one of these lines in the RichTextBox.
EXAMPLE: If the user entered in "25.305" into the TextBox it would add that value to each one of the values in the RichTextBox and then replacing that value in the RichTextBox with the new value making the updated RichTextBox look like this:
253.210
253.210
267.515
-210.830
30.915
54.970
294.970
- Does anyone know how to do this?