Skip to content

Commit

Permalink
Fixing formatting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jlechem committed Mar 4, 2024
1 parent 2bdf816 commit 0ea8a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IpViewer/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private void SetAdapterInformationControls(AdapterInfo adapterInfo)
IpViewerSettings.Instance.SaveSettings();

this.labelMacAddress.Text = adapterInfo.MacAddress;
this.labelSpeed.Text = $"{adapterInfo.Speed * 0.000000125} MegaBytes / sec";
this.labelSpeed.Text = $"{(adapterInfo.Speed * 0.000000125):0.##} MegaBytes / sec";
this.labelAdapterStatus.Text = adapterInfo.OperationalStatus;
this.labelInternalAddress.Text = adapterInfo.IpAddress;
}
Expand Down

0 comments on commit 0ea8a2d

Please sign in to comment.