Beispiel #1
0
 public bool is_less_than(Percent other_percent)
 {
     return percentage.CompareTo(other_percent.percentage) < 0;
 }
Beispiel #2
0
 public bool Equals(Percent other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.percentage == percentage;
 }
Beispiel #3
0
 public bool represents(Percent other_percent)
 {
     return Equals(other_percent);
 }