Change-Id: I76da22b1ca232f6d222e4a263a42c669da15fb26
Signed-off-by: ahothan <ahothan@cisco.com>
drop = cur_count - prev_count
if drop:
dr = (drop * 100.0) / prev_count if prev_count else 0
drop = cur_count - prev_count
if drop:
dr = (drop * 100.0) / prev_count if prev_count else 0
- annotated_value = '{:,} ({:.4f}%)'.format(drop, dr)
+ annotated_value = '{:+,} ({:+.4f}%)'.format(drop, dr)
else:
# no drop
# if last column we display the value
else:
# no drop
# if last column we display the value