unneeded: len(str)

master
Brandon Lee Camilleri 3 years ago committed by GitHub
parent 8c50782a40
commit 3d4b19d822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sorter.go

@ -245,7 +245,7 @@ func m(str string) float32 {
multiplier := 1.0
switch str[len(str)-1 : len(str)] { // Check the last character.
switch str[len(str)-1:] { // Check the last character.
case `T`:
multiplier = 1000000000000.0
case `B`:

Loading…
Cancel
Save