A simple package for extending Base.round with a more human readable rounding style.
To install InstaRound
either do
using Pkg
Pkg.add("InstaRound")
or switch to Pkg
mode with ]
and issue
pkg> add InstaRound
Round numbers with IGRound
using InstaRound
julia> round(IGRound, 1_000_000; names=false)
"1.0M"
julia> round(IGRound, 1_000_000; names=true)
"1.0 Million"