Convert bytes to KB, MB, GB,...
to_ram_size(s, kb_to_b = 1000)
s
size
kb_to_b
how many bytes counts one KB, 1000 by default
numeric equaling to s but formatted