12 references to Round
Microsoft.Build (2)
Evaluation\Profiler\EvaluationLocationPrettyPrinterBase.cs (2)
36return Math.Round(timeSpan.TotalMilliseconds, 0, MidpointRounding.AwayFromZero); 44return Math.Round(percentage, 1, MidpointRounding.AwayFromZero);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
692public static double Round(double x, int digits, MidpointRounding mode) => Math.Round(x, digits, mode);
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1364return Round(value, digits, MidpointRounding.ToEven);
xunit.assert (8)
EqualityAsserts.cs (8)
372 var expectedRounded = Math.Round(expected, precision, rounding); 373 var actualRounded = Math.Round(actual, precision, rounding); 444 var expectedRounded = Math.Round(expected, precision, rounding); 445 var actualRounded = Math.Round(actual, precision, rounding); 853 var expectedRounded = Math.Round(expected, precision, rounding); 854 var actualRounded = Math.Round(actual, precision, rounding); 925 var expectedRounded = Math.Round(expected, precision, rounding); 926 var actualRounded = Math.Round(actual, precision, rounding);