Beispiel #1
0
 public void ApplyRounding(Precision precision, decimal divisor)
 {
     if (Math.Abs(this.NumericAmount) >= 100)
     {
         this.RoundedNumericAmount =
             InstanceReport.CalculateRoundedScaledNumber(this.NumericAmount, divisor, precision);
     }
     else
     {
         this.RoundedNumericAmount = this.NumericAmount.ToString();
     }
 }