aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/utils.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-10-31 14:00:29 +0100
committerTibor Frank <tifrank@cisco.com>2017-10-31 14:00:29 +0100
commit3f2beec17f60c2c6b003c955e02451a77944197b (patch)
tree1d6412882020ac93efe2ed44a0577aee4aba33c7 /resources/tools/presentation/utils.py
parent737fbd3341638e90478979779b5ee6c0b0bf5c39 (diff)
Report: data
Change-Id: I1e6d9a6df9989a3730391be878b619bf02302a7e Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/utils.py')
-rw-r--r--resources/tools/presentation/utils.py2
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):