Add a hindu arabic to roman numerals converter
ClosedPublic

Authored by dereckson on Apr 16 2018, 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.Apr 16 2018, 01:05
dereckson created this revision.
dereckson accepted this revision.Apr 16 2018, 01:08
This revision is now accepted and ready to land.Apr 16 2018, 01:08
dereckson updated this revision to Diff 4081.Apr 16 2018, 01:11

Align numbers

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

Align numbers, take two

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

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

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

Reorder

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