3 references to Round
PresentationCore (1)
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
672return Math.Round(value * pixelsPerDip, midpointRounding) / pixelsPerDip;
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
692public static double Round(double x, MidpointRounding mode) => Math.Round(x, mode);
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1347value = Round(value * power10, mode) / power10;