carloscarucce/roman-algarisms

Functions for converting roman algarisms to integer and vice versa

Installs: 136

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/carloscarucce/roman-algarisms

v1.0 2022-10-06 18:14 UTC

This package is auto-updated.

Last update: 2025-09-15 00:49:27 UTC


README

A simple package to make conversion between roman and integer.

Installation

composer require carloscarucce/roman-algarisms

Usage

Convert integer number to roman

$roman = int_to_roman(20);
echo $roman; //XX

Convert roman to integer

$number = roman_to_int('XIV');
echo $number; //14