16 references to Round
KeyManagementSimulator (2)
Program.cs (2)
194
Console.WriteLine($"Instance {i}: {Math.
Round
(cumulativeProblemTime.TotalHours, 2)} hours");
198
Console.WriteLine($"Total missing key score (lower is better) = {Math.
Round
(totalProblemTime.TotalHours, 2)} hours");
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (1)
1952
Math.
Round
(projectGraph.ConstructionMetrics.ConstructionTime.TotalSeconds, 3),
Logging\BaseConsoleLogger.cs (1)
812
"{0,5}", Math.
Round
(elapsedTime.TotalMilliseconds, 0));
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
1756
"{0,5}", Math.
Round
(elapsedTime.TotalMilliseconds, 0));
Microsoft.Build.Engine (2)
Logging\BaseConsoleLogger.cs (1)
747
"{0,5}", Math.
Round
(elapsedTime.TotalMilliseconds, 0));
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
1576
"{0,5}", Math.
Round
(elapsedTime.TotalMilliseconds, 0));
PresentationFramework (7)
MS\Internal\Documents\RowCache.cs (6)
316
double roundedOffset = Math.
Round
(offset, _findOffsetPrecision);
324
double rowOffset = Math.
Round
(_rowCache[i].VerticalOffset, _findOffsetPrecision);
325
double rowHeight = Math.
Round
(_rowCache[i].RowSize.Height, _findOffsetPrecision);
416
startOffset = Math.
Round
(startOffset, _findOffsetPrecision);
417
endOffset = Math.
Round
(endOffset, _findOffsetPrecision);
423
double rowOffset = Math.
Round
(_rowCache[i].VerticalOffset, _findOffsetPrecision);
System\Windows\Documents\TextStore.cs (1)
2883
double angleCos = Math.
Round
((radCos * 180) / Math.PI, 0);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
689
public static double Round(double x, int digits) => Math.
Round
(x, digits);
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
1613
significand = Math.
Round
(significand, 8);