Fixed language selection based on locale
This commit is contained in:
@@ -49,8 +49,7 @@ fun byteToString(byte: Long, precision : Int = 1) : String {
|
||||
"GB",
|
||||
"TB" //really?
|
||||
)
|
||||
var size = byte.toDouble()
|
||||
var suffixIndex = 0
|
||||
var size = byte.toDouble(); var suffixIndex = 0
|
||||
|
||||
while (size >= 1024) {
|
||||
size /= 1024
|
||||
|
||||
Reference in New Issue
Block a user