Skip to content

taniko/romans

Repository files navigation

romans

roman numerals parser

Build Status

Installation

composer require taniko/romans

Usage

<?php
use Taniko\Romans\Parser;
Parser::toInt('MMXVII'); // 2017
Parser::toInt('MMⅩVII'); // 2017 (Ⅹ is U+2169)
Parser::toRoman(2017);   // MMXVII

About

roman numerals parser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages