c#is the formatting right, double two = Convert.ToDouble(textBox1.Text);c#
it does not working with me
where are you using this code? inside a button click event or inside a text change event
What does it return and what do you expect instead?