Bagaimana memotong desimal tanpa pembulatan
var value = 1.23456M;
var shortenedValue = Convert.ToDecimal(value.ToString("0.###"));
Assert.Equals(shortenedValue, 1.234);
1234
Dark Dormouse