vietnamess-currency

convert current number to text

Usage no npm install needed!

<script type="module">
  import vietnamessCurrency from 'https://cdn.skypack.dev/vietnamess-currency';
</script>

README

Currency-vietnamess

npm install vietnamess-currency

const { readCurrency } = require('vietnamess-currency')

readCurrency(currency) // currency must be number

Example

const text = readCurrency(231992193421)

text = 'hai trăm ba mươi mốt tỷ chín trăm chín mươi hai triệu một trăm chín mươi ba nghìn bốn trăm hai mươi mốt'