int A = 5; int B = 3; labAPercent.Text = (A * 100.0 / (A + B)).ToString(); labBPercent.Text = (B * 100.0 / (A + B)).ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)