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

Description Usage Arguments Value

View source: R/strings.R

Description

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

Usage

1
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


dipsaus documentation built on Sept. 6, 2021, 5:08 p.m.