decimal a = decimal.Parse(Label20.Text); decimal b = decimal.Parse(Label15.Text); decimal c = b - a; Label22.Text = c.ToString();
Math.Round(Convert.ToDecimal(Label20.Text)), 2);
double doubleNumber; doubleNumber= 17843.1234; doubleNumber.ToString("F2",CultureInfo.InvariantCulture)); // Displays 17843.12
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)