dickyermawan/yii2-terbilang-rupiah

Extensions to convert numbers into text in rupiah (Terbilang dalam Rupiah).

v1.7 2021-10-02 15:49 UTC

This package is auto-updated.

Last update: 2025-03-29 00:57:26 UTC


README

Extensions to convert numbers into text in rupiah (Terbilang dalam Rupiah).

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist dickyermawan/yii2-terbilang-rupiah "~1.0"

or add

"dickyermawan/yii2-terbilang-rupiah": "~1.0"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \dickyermawan\terbilang\Rupiah::terbilang(5500); ?>  // Lima Ribu Lima Ratus