Skip to contents

Convert bytes to KB, MB, GB,...

Usage

to_ram_size(s, kb_to_b = 1000)

Arguments

s

size

kb_to_b

how many bytes counts one KB, 1000 by default

Value

numeric equaling to s but formatted