nexuslinkservices/country-currency-converter
Composer 安装命令:
composer require nexuslinkservices/country-currency-converter
包简介
README 文档
README
Convert country currency by currency code.
Installation
If you use composer, you can add this package by running
composer require galiteintechnologies/country-currency-converter
Usage
<?php
use CountryCurrencyConverter\CurrencyConverter;
$currencyConverter = new CurrencyConverter();
$result = $currencyConverter->convertCurrency('USD', 'INR', 1);
echo $result.'<br/>';
$result = $currencyConverter->convertCurrency('USD', 'INR', 1, false);
echo $result.'<br/>';
$result = $currencyConverter->convertCurrency('USD', 'INR', 1, false, false);
echo $result;
Output
66.59 ₹ //With round value and currency symbol
66.5922 ₹ //without round value
66.5922 // without round value and currency symbol
CONTRIBUTING:
Pull requests are always welcome.
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-07