Skip to content
No description or website provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Create list Feb 27, 2019
test Redesign. Breaking change. Feb 26, 2019
.gitignore
.travis.yml Redesign. Breaking change. Feb 26, 2019
LICENSE.md Redesign. Breaking change. Feb 26, 2019
Manifest.toml Redesign. Breaking change. Feb 26, 2019
Project.toml Fix version # v0.11.0 -> v0.12.0 Feb 28, 2019
README.md Redesign. Breaking change. Feb 26, 2019
REQUIRE Redesign. Breaking change. Feb 26, 2019
appveyor.yml Redesign. Breaking change. Feb 26, 2019

README.md

Currencies.jl

Build Status Build status

Purpose

This package provides standard currency names and codes.

Data Source

Data for this package was obtained from https://datahub.io/core/country-codes.

Usage

julia> using Currencies; import Currencies: unit, name, code, USD, PHP, HKD, SGD
julia> for ccy in [USD,PHP,HKD,SGD]
       println("Currency: $(ccy)")
       println("Name: $(name(ccy))")
       println("Code: $(code(ccy))")
       println("Minor Unit: $(unit(ccy))\n")
       end
       
Currency: USD
Name: US Dollar
Code: 840
Minor Unit: 2

Currency: PHP
Name: Philippine Piso
Code: 608
Minor Unit: 2

Currency: HKD
Name: Hong Kong Dollar
Code: 344
Minor Unit: 2

Currency: SGD
Name: Singapore Dollar
Code: 702
Minor Unit: 2
You can’t perform that action at this time.