How to use the nzh.hk function in nzh

To help you get started, we’ve selected a few nzh examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Ice-Hazymoon / MikuTools / pages / number_to_zh.vue View on Github external
hans() {
            const nzhcn = Nzh.cn;
            const nzhhk = Nzh.hk;
            let n = this.number;
            let data = [
                {
                    lang: 'cn',
                    data: [
                        {
                            name: '中文小写',
                            encode: [
                                nzhcn.encodeS(n),
                                nzhcn.encodeS(n, { tenMin: false })
                            ]
                        },
                        {
                            name: '中文大写',
                            encode: [
                                nzhcn.encodeB(n),

nzh

数字转中文,大写,金额

BSD-2-Clause
Latest version published 1 month ago

Package Health Score

65 / 100
Full package analysis

Popular nzh functions