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