Socket
Socket
Sign inDemoInstall

currency-kr

Package Overview
Dependencies
4
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    currency-kr

한국 통화, 한글단위 원


Version published
Maintainers
1
Install size
535 kB
Created

Readme

Source

currency-won

Build Status

한국 통화

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;
function w(amount: number): string;
function w10(amount: number): string;
function w100(amount: number): string;
function w1000(amount: number): string;
function m(amount: number): string;
function m10(amount: number): string;
function m100(anumber): string;
function m1000(amount: number): string;
function b(amount: number): string;
function b10(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

Keywords

FAQs

Last updated on 21 Oct 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc