Add a hindu arabic to roman numerals converter
ClosedPublic

Authored by dereckson on Mon, Apr 16, 01:05.

Details

Summary

Compute tables goal is to reduce the cyclometric complexity of the converter
methods.

Use case:

This code is refactored from the Smarty plugin shipped with Azhàr and Zed
to print numerals counters.

The lowercase string has been chosen.

Scope limitations:

This change doesn't contain a code to convert roman numerals into hindu
arabic numbers, as there is no use case established, but the compute
tables can help for that too.

Test Plan

Unit tests provided

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dereckson requested review of this revision.Mon, Apr 16, 01:05
dereckson created this revision.
dereckson accepted this revision.Mon, Apr 16, 01:08
This revision is now accepted and ready to land.Mon, Apr 16, 01:08
dereckson updated this revision to Diff 4081.Mon, Apr 16, 01:11

Align numbers

dereckson updated this revision to Diff 4082.Mon, Apr 16, 01:14

Align numbers, take two

dereckson accepted this revision.Mon, Apr 16, 01:15
dereckson updated this revision to Diff 4083.Mon, Apr 16, 01:19

Shorter lines to improve legibility. 4000 = 4 thousand, singular.

dereckson updated this revision to Diff 4084.Mon, Apr 16, 01:22

Reorder

dereckson accepted this revision.Mon, Apr 16, 01:23
This revision was automatically updated to reflect the committed changes.