Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -141,7 +141,7 @@ namespace Server.Engines.Reports
|
|||
}
|
||||
|
||||
float perc = (item.SweepSize * 100.0f) / 360.0f;
|
||||
string percString = String.Format( "{0:F0}%", perc );
|
||||
string percString = $"{perc:F0}%";
|
||||
|
||||
float px = pieRect.X+(pieRect.Width/2);
|
||||
float py = pieRect.Y+(pieRect.Height/2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue