m1y474/unit-numeral-ch

convert to chinese unit numeral

v0.1.0 2021-11-07 11:02 UTC

This package is auto-updated.

Last update: 2024-06-07 19:34:10 UTC


README

Install

composer require m1y474/unit-numeral-ch

Usage

use UnitNumeralCh\UnitNumeralCh;

assert('私の戦闘力は53万です' === '私の戦闘力は'.UnitNumeralCh::convert(530000).'です'); // true