diff options
Diffstat (limited to 'resources/tools/presentation/utils.py')
-rw-r--r-- | resources/tools/presentation/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py index f423cd22a7..f9feeb0411 100644 --- a/resources/tools/presentation/utils.py +++ b/resources/tools/presentation/utils.py @@ -57,7 +57,7 @@ def relative_change(nr1, nr2): :rtype: float """ - return (nr1 - nr2) / nr2 * 100 + return float((nr2 - nr1) / nr1 * 100) def get_files(path, extension=None, full_path=True): |