Ejemplo n.º 1
0
 /// <summary>
 /// Returns the first axis value lower than this data value if the axis interval is the NumberSize() of this value.
 /// </summary>
 /// <param name="d"></param>
 /// <returns></returns>
 public static double AdjustDown(this double d)
 {
     return(d.AdjustDown(d.NumberSize()));
 }
Ejemplo n.º 2
0
        /// <summary>
        /// The appropriate minimum axis value for this minimum data value.
        /// </summary>
        /// <param name="d"></param>
        /// <returns></returns>
        public static double FindMin(this double d)
        {
            double i = d.intervalForAdjust();

            return(d.AdjustDown(i));
        }