made free floor all numbers

This commit is contained in:
Izaya 2019-11-19 17:19:02 +11:00
parent 787163c606
commit b66e8f93a7
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
print("Total Used Free")
print(string.format("%4dK %4dK %4dK",computer.totalMemory()/1024,math.floor((computer.totalMemory()-computer.freeMemory())/1024),math.floor(computer.freeMemory()/1024)))
print(string.format("%4iK %4iK %4iK",math.floor(computer.totalMemory()/1024),math.floor((computer.totalMemory()-computer.freeMemory())/1024),math.floor(computer.freeMemory()/1024)))