Overview

HTTPS SSH

KiB


Usage

Rust

Java

Ruby

Install the gem:

gem install kib

And:

irb(main)> require 'kib'
irb(main)> KiB.format(1024 * 1024)
=> "1.00 MiB"