ToString()
Decimal.Round()
Math.Round()
for (int x = 0; x < dtform.Rows.Count; x++) { decimal sub = decimal.Parse(dtform.Rows[x][3].ToString()); DGV1.Rows[x].Cells["A"].Value = decimal.Round(sub,2); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)