number2word_hun
v3.0.3
Published
Converting a number to a word by following the Hungarian language rules.
Downloads
11
Maintainers
Readme
Installing
Using npm:
$ npm i --save number2word_hun
Example
note: CommonJS usage
// Load the package.
var number2wordHun = require("number2word_hun");
// Convert number to words.
const positiveNum = number2wordHun.numberToWordHun(200);
// kettőszáz
const negativeNum = number2wordHun.numberToWordHun(-200);
// mínusz kettőszáz
note: Node.js usage:
// Load the package.
import { numberToWordHun } = from 'number2word_hun';
// Convert number to words.
const positiveNum: string = numberToWordHun(200);
// kettőszáz
const negativeNum: string = numberToWordHun(-200);
// mínusz kettőszáz