示例#1
0
 public static Utility.Unit <decimal> RoundSD(Utility.Unit <decimal> d, int significant_digits, MidpointRounding rounding = MidpointRounding.ToEven)
 {
     return(Utility.Unit_._(RoundSD(d.Value, significant_digits, rounding), d));
 }
示例#2
0
 public static Utility.Unit <decimal> TruncSD(Utility.Unit <decimal> d, int significant_digits)
 {
     return(Utility.Unit_._(TruncSD(d.Value, significant_digits), d));
 }