6 references to Round
aspire (1)
src\Shared\ConsoleLogs\SharedAIHelpers.cs (1)
394return (int)Math.Round(durationNano / 1_000_000.0, 0, MidpointRounding.AwayFromZero);
Aspire.Dashboard (1)
src\Shared\ConsoleLogs\SharedAIHelpers.cs (1)
394return (int)Math.Round(durationNano / 1_000_000.0, 0, MidpointRounding.AwayFromZero);
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)
694public static double Round(double x, int digits, MidpointRounding mode) => Math.Round(x, digits, mode);
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1354return Round(value, digits, MidpointRounding.ToEven);