예제 #1
0
        public override bool Equals(object obj)
        {
            NullableDouble dbl = obj as NullableDouble;

            if (dbl == null)
            {
                return(false);
            }
            else
            {
                return(Equals(dbl.Value, this.Value));
            }
        }
예제 #2
0
 /// <summary>
 /// Constructor for raw score and the score range
 /// </summary>
 /// <param name="raw">The score</param>
 /// <param name="min">The lowest permissible value</param>
 /// <param name="max">The greatest permissible value</param>
 public Score(double raw, double min, double max)
 {
     this.raw = raw;
     this.min = min;
     this.max = max;
 }
예제 #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="scaled">The value for scaled, the recommended property</param>
 public Score(double scaled)
 {
     this.scaled = scaled;
 }