cryptom2/currency-precision
Composer 安装命令:
composer require cryptom2/currency-precision
包简介
Auxiliary module to handle currency precision for crypto currencies
README 文档
README
Description
Module manages custom currency precisions and add possibility to change default currency precision.
Installation
To install module you need to add repositories to your composer.json:
"repositories": {
"crypto-currency-precision": {
"type": "git",
"url": "git@github.com:torys877/crypto-currency-precision.git"
}
}
Or add repositories in console:
composer config repositories.crypto-currency-precision git git@github.com:torys877/crypto-currency-precision.git
Install module:
composer require cryptom2/currency-precision:v1.0.0
And run
php bin/magento setup:upgrade
Example Of Usage
To set precision it needs to create config.xml in etc module directory and add next config:
<default>
<system>
<currency>
<ETH>
<precision>5</precision>
</ETH>
</currency>
</system>
</default>`
Author
Ihor Oleksiienko
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-21