Skip to content

Commit

Permalink
Merge pull request #138 from dalfy15/master
Browse files Browse the repository at this point in the history
Update bcradialprogressbar.pas
  • Loading branch information
lainz authored Jun 17, 2023
2 parents 3e54a92 + 791bdbb commit da56f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bcradialprogressbar.pas
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ procedure TBCRadialProgressBar.RenderControl;
if MaxValue = 0 then
textStr := '0%'
else
textStr := FloatToStr((Value / MaxValue) * 100) + '%';
textStr := FloatToStr(Round((Value / MaxValue) * 100)) + '%';

if DrawText then
begin
Expand Down

0 comments on commit da56f38

Please sign in to comment.