Description Usage Arguments Details Value See Also Examples
Num of byte needed to fit in n * KiB, MiB ..etc.
1 | binaryPrefix(n, prefix="KiB")
|
n |
numeric value |
prefix |
binary prefix * byte. Expeting a »string« |
KiB <- KibiByte MiB <- MebiByte GiB <- GibiByte TiB <- TebiByte PiB <- PebiByte EiB <- ExiByte ZiB <- ZebiByte YiB <- YobiByte
The number of byte fitting in n * binary prefix * byte
bytesNeeded or fillUpToByte or byte
1 2 3 4 | #Get the number of byte needed to hold 0.5 and 1:10 KiB
binaryPrefix(c(0.5,1:10),"KiB")
#Get the number of bit needed to hold 1 KiB
binaryPrefix(1,"KiB")*byte()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.