public override bool Equals(object obj) { NullableDouble dbl = obj as NullableDouble; if (dbl == null) { return(false); } else { return(Equals(dbl.Value, this.Value)); } }
/// <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; }
/// <summary> /// Constructor /// </summary> /// <param name="scaled">The value for scaled, the recommended property</param> public Score(double scaled) { this.scaled = scaled; }