개정판 1e2c1038
issue #000: 소수점 둘째자리까지 모두 표시되도록 수정
Change-Id: Id355e9dc36cdc0e4383385fcc481b6c99d9e4570
DTI_PID/ID2PSN/Form/MainForm.cs | ||
---|---|---|
353 | 353 |
gridViewPSN.Columns["TopologySet_OID_Key"].Caption = "SeqData ID"; |
354 | 354 |
gridViewPSN.Columns["PSNRevisionNumber"].Caption = "Revision"; |
355 | 355 |
gridViewPSN.Columns["Show"].Caption = " "; |
356 |
|
|
356 |
gridViewPSN.Columns["PSNAccuracy"].DisplayFormat.FormatString = "{ 0:#.##}"; |
|
357 |
|
|
357 | 358 |
#region PathItems Table |
358 | 359 |
DataTable pathItemsDT = new DataTable(); |
359 | 360 |
pathItemsDT.Columns.Add("OID", typeof(string)); |
... | ... | |
451 | 452 |
newRow["Drawings"] = row["Drawings"].ToString(); |
452 | 453 |
|
453 | 454 |
newRow["IncludingVirtualData"] = row["IncludingVirtualData"].ToString(); |
454 |
newRow["PSNAccuracy"] = row["PSNAccuracy"].ToString() + "%";
|
|
455 |
newRow["PSNAccuracy"] = String.Format("{0:0.00}", Convert.ToDouble(row["PSNAccuracy"])) + "%";
|
|
455 | 456 |
PSNPageDT.Rows.Add(newRow); |
456 | 457 |
} |
457 | 458 |
|
내보내기 Unified diff