nikolaposa/num-converter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nikolaposa/num-converter

最新稳定版本:v1.0.3

Composer 安装命令:

composer require nikolaposa/num-converter

包简介

PHP library which provides consistent interface for converting numbers between various numeral systems.

README 文档

README

Build Status

PHP library which provides consistent interface for converting numbers between various numeral systems, for example Binary, Hexadecimal, Roman, etc.

Installation

The preferred method of installation is via Composer. Run the following command to install the latest version of a package and add it to your project's composer.json:

composer require nikolaposa/num-converter

Usage

<?php
use NumConverter\StaticConverter as NumConverter;
use NumConverter\NumeralSystems;

echo NumConverter::convert(2015, NumeralSystems::DECIMAL, NumeralSystems::ROMAN); //MMXV

See more examples.

Author

Nikola Poša

Copyright and license

Copyright 2017 Nikola Poša. Released under MIT License - see the LICENSE file for details.

统计信息

  • 总下载量: 26
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-03