FunFunc v0.2.0 FunFunc.Unit
Functions for units.
kilo
, mega
, giga
, tera
, peta
, exa
, milli
,
milli
, micro
, nano
, pico
, femto
, atto
are supported.
Link to this section Summary
Functions
1 atto is 1.0e-18
1 exa is 1000000000000000000
1 exabyte is 1152921504606846976
See exabyte/0
Alias for exabyte/1
1 femto is 1.0e-15
1 giga is 1000000000
1 gigabyte is 1073741824
Alias for gigabyte/1
1 kilo is 1000
1 kilobyte is 1024
Alias for kilobyte/1
1 mega is 1000000
1 megabyte is 1048576
Alias for megabyte/1
1 micro is 1.0e-6
1 milli is 0.001
1 nano is 1.0e-9
1 peta is 1000000000000000
1 petabyte is 1125899906842624
Alias for petabyte/1
1 pico is 1.0e-12
1 tera is 1000000000000
1 terabyte is 1099511627776
Alias for terabyte/1
Link to this section Functions
See atto/0
.
Examples
iex> FunFunc.Unit.atto(3)
3.0000000000000002e-18
See exa/0
.
Examples
iex> FunFunc.Unit.exa(3)
3000000000000000000
See exabyte/0
.
Examples
iex> FunFunc.Unit.exabyte(3)
3458764513820540928
Alias for exabyte/1
.
Examples
iex> FunFunc.Unit.exabytes(3)
3458764513820540928
See femto/0
.
Examples
iex> FunFunc.Unit.femto(3)
3.0000000000000002e-15
See giga/0
.
Examples
iex> FunFunc.Unit.giga(3)
3000000000
See gigabyte/0
.
Examples
iex> FunFunc.Unit.gigabyte(3)
3221225472
Alias for gigabyte/1
.
Examples
iex> FunFunc.Unit.gigabytes(3)
3221225472
See kilo/0
.
Examples
iex> FunFunc.Unit.kilo(3)
3000
See kilobyte/0
.
Examples
iex> FunFunc.Unit.kilobyte(3)
3072
Alias for kilobyte/1
.
Examples
iex> FunFunc.Unit.kilobytes(3)
3072
See mega/0
.
Examples
iex> FunFunc.Unit.mega(3)
3000000
See megabyte/0
.
Examples
iex> FunFunc.Unit.megabyte(3)
3145728
Alias for megabyte/1
.
Examples
iex> FunFunc.Unit.megabytes(3)
3145728
See micro/0
.
Examples
iex> FunFunc.Unit.micro(3)
3.0e-6
See milli/0
.
Examples
iex> FunFunc.Unit.milli(3)
0.003
See nano/0
.
Examples
iex> FunFunc.Unit.nano(3)
3.0000000000000004e-9
See peta/0
.
Examples
iex> FunFunc.Unit.peta(3)
3000000000000000
See petabyte/0
.
Examples
iex> FunFunc.Unit.petabyte(3)
3377699720527872
Alias for petabyte/1
.
Examples
iex> FunFunc.Unit.petabytes(3)
3377699720527872
See pico/0
.
Examples
iex> FunFunc.Unit.pico(3)
3.0e-12
See tera/0
.
Examples
iex> FunFunc.Unit.tera(3)
3000000000000
See terabyte/0
.
Examples
iex> FunFunc.Unit.terabyte(3)
3298534883328
Alias for terabyte/1
.
Examples
iex> FunFunc.Unit.terabytes(3)
3298534883328