示例#1
0
 public static Double BetweenOrDefault(this Double num, Double lower, Double upper, Boolean inclusive = false)
 {
     return(num.Between(lower, upper, inclusive) ? num : default(Double));
 }
 public static bool BetweenInclude(this Double current, double begin, double end)
 {
     return(current.Between(begin, end, true, true));
 }