AddonHelper.Addon.cProgressBar.percentage C# (CSharp) Метод

percentage() приватный Метод

private percentage ( int currentLocation ) : double
currentLocation int
Результат double
            private double percentage(int currentLocation)
            {
                return Math.Min(100d, 100d / (double)this.filesize * (double)currentLocation);
            }

Same methods

Addon.cProgressBar::percentage ( int currentLocation, int decimals ) : double