Skip to content

Commit

Permalink
mbps fix (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Mar 15, 2021
1 parent e294234 commit 1c99f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/item-detail/item-detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export class ItemDetailComponent implements OnInit {
}

bytesToMbps(bytes) {
return this.roundNumberTwoDecimals(bytes / Math.pow(1024, 2));
return this.roundNumberTwoDecimals(bytes * 8.0E-6);
}

toggleThroughputBand({ element, perfAnalysis }) {
Expand Down

0 comments on commit 1c99f8b

Please sign in to comment.