2018-07-13から1日間の記事一覧
C# : 整数のN位で四捨五入 /// <summary> /// 整数のN位で四捨五入 /// Math.Roundは銀行丸めなのでエクセルと同様の四捨五入をする場合はMidpointRounding.AwayFromZeroを設定 /// ex) GetExcelRound(13405, 1) // return 13410 /// ex) GetExcelRound(13405, 2) // </summary>…
C# : 整数のN位で四捨五入 /// <summary> /// 整数のN位で四捨五入 /// Math.Roundは銀行丸めなのでエクセルと同様の四捨五入をする場合はMidpointRounding.AwayFromZeroを設定 /// ex) GetExcelRound(13405, 1) // return 13410 /// ex) GetExcelRound(13405, 2) // </summary>…