Using textBox_TextChanged Handler, I am trying to check the Price a end user enters to see if ends in .97. If it ends in .97 then it will set another textBox value to 1. Scenario is that commissions cannot be calculated on any items that have a price ending in .97.
I thought that I could do a list = {*.97, **.97, ***.97} but it will not allow it throwing an error "The * or -> operator must be applied to a pointer."
Double value1;
Double discount1;
Double price1;
Double[] list = {*.97, **.97, ***.97};
discount1 = 0;
if (Double.TryParse(textBox1.Text, out value1))
textBox1.Text = value1.ToString();
{
}
Here is the what I had in mind...
for....
if value1 = {*.97, **.97, ***.97}
textBox69.Text = discount1.ToString():