kukuhprabowo/matauang

There is no license information available for the latest version (dev-master) of this package.

Convert Number to currency format

dev-master 2015-01-16 08:15 UTC

This package is not auto-updated.

Last update: 2024-11-05 16:22:24 UTC


README

Put on composer.json file

{
  "require" : {
    "kukuhprabowo/matauang" : "dev-master"
  }
}

Convert to Currency

Matauang/Matauang::convert(value, symbol, delimiter, endpoint)

And here's some code!

  require_once "vendor/autoload.php";

  Matauang/Matauang::convert('2000');

output

  Rp. 200.000,-