Skip to content

An extension of Julia's base round method for human beings.

License

Notifications You must be signed in to change notification settings

PyDataBlog/InstaRound.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

An extension of Julia's base round method for human beings.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages