Skip to content

Repository files navigation

currency-kr Build Status

npm 한국 통화

Install

npm install currency-kr

API

function(amount: number): string;function십원(amount: number): string;function백원(amount: number): string;function천원(amount: number): string;function만원(amount: number): string;function십만원(amount: number): string;function백만원(amount: number): string;function천만원(amount: number): string;function억원(amount: number): string;function십억원(amount: number): string;function백억원(amount: number): string;function천억원(amount: number): string;function조원(amount: number): string;function십조(amount: number): string;function백조원(amount: number): string;function천조원(amount: number): string;functionw(amount: number): string;functionw10(amount: number): string;functionw100(amount: number): string;functionw1000(amount: number): string;functionm(amount: number): string;functionm10(amount: number): string;functionm100(anumber): string;functionm1000(amount: number): string;functionb(amount: number): string;functionb10(amount: number): string;

Usage

import{백만원}from'currency-kr';console.log(만원(10000,2));// "1.00"console.log(만원(1000000));// "100"console.log(만원(10000000));// "1,000"

License

MIT

About

💰 한국 통화

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages