git.sophuwu.com > byterate
fixed some oopsie math error uwu
sophuwu sophie@skisiel.com
Tue, 07 Jan 2025 02:48:24 +0100
commit

16e1c1ec48ed9372647373e0e57f76555bf2feb0

parent

16e816d93525d193d8a3d00bbffc1b03e04ef65c

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bytesize.gobytesize.go

@@ -65,7 +65,7 @@ return 0, err

} s = strings.ToLower(s) if strings.HasSuffix(s, "bit") { - s = strings.TrimPrefix(s, "bit") + s = strings.TrimSuffix(s, "bit") } else { num *= 8 }