Skip to content

Commit

Permalink
Fixes #53 show correct decimals for download and upload speed
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbrose committed Feb 26, 2024
1 parent 092ef32 commit a51570e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def bits_to_megabits(bits_per_sec):


def megabits_to_bits(megabits):
bits_per_sec = int(megabits) * (10**6)
bits_per_sec = float(megabits) * (10**6)
return str(bits_per_sec)


Expand Down

0 comments on commit a51570e

Please sign in to comment.