I have got this code down below which should multiply two variables and add to it amount from textbox kpriplac. but when the multiplied value is 10 and kpriplac value is for example also 10 the output is 1010. But I need that output to be 20. I have also checked this
Where do I make a mistake? Thanks for your time reading this.
if (double.TryParse(comboBoxText, out comboxValue) && int.TryParse(textBox16.Text.Trim(), out textboxValue))
{
textBox19.Text = ((comboxValue * textboxValue) + (kpriplac.Text)).ToString();
}
kpriplac.Textconverted to anint?