milantarami / money-format
alternative for money_format() for windows machine
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/milantarami/money-format
This package is auto-updated.
Last update: 2020-12-03 18:31:30 UTC
README
alternative for money_format() for windows machine
Installation and setup
You can install this package via composer using:
composer require milantarami/money-format
Overview
MoneyFormat::get(Input, Locale, Enable_Monetary_Symbol, Custom_Monetary_Symbol);
Usage
$formatted = MoneyFormat::get('123456', 'np'); // output : 1,23,456.00 $formatted = MoneyFormat::get('123456', 'np', true); //output : रू 1,23,456.00 $formatted = MoneyFormat::get('123456', 'np', true, 'NPR'); // output : NPR 1,23,456.00 $formatted = MoneyFormat::get('123456', 'us'); // output : 123,456.00