Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 963 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 963 Bytes

InstaRound

Stable Dev Build Status Coverage

A simple package for extending Base.round with a more human readable rounding style.

Installation

To install InstaRound either do

using Pkg
Pkg.add("InstaRound")

or switch to Pkg mode with ] and issue

pkg> add InstaRound

Basic Usage

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"