hello their
i am using this code to find the percentage in a label but its not showing the decimal value hep please
int p = Convert.ToInt32(total.Text);
double n;
n= ((p * 100) / 200);
label1.Text = n.ToString("N2");
here total.text is also a label where total value is showing and it converted to int p
Go to the complete details ...