it didn't work.
here's what I have:

variableOne = algorithm_here

//for this example sake let's say

//variableOne = 0.99999999999999 that's 14 times the number 9

textBox = variableOne

Instead of textBox showing the whole number I'd like it to show only the first 4
thank you
Ron.
Ah that is different. You must distinguish between either side of the decimal point. You can use the Round() function to limit decimal places to 4:
variableOne = Round(variableOne, 4)
But that will only work with the decimal point and, especially with the number you are using (0.999999999999), you may keep getting '1'
Good luck