PointPair point = curve[iPt]; string StringPointValue = string.Format("X:{0} \nY: {1:F4}", point.X, point.Y); return StringPointValue; The essence of this, when you point the mouse at a point, it displays a point. So the numbers show, but if this number is more than 2 then it outputs zeros, why?
X:{0}should output everything, without rounding, forY:{1:F4}should output a value with 4 decimal places. But what control do you use, whatPointPairclass and what is WinForms or WPF? - rdorn