Page MenuHomeDevCentral

Add a hindu arabic to roman numerals converter
ClosedPublic

Authored by dereckson on Apr 16 2018, 01:05.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 13:27
Unknown Object (File)
Tue, Nov 12, 13:46
Unknown Object (File)
Sun, Nov 10, 23:40
Unknown Object (File)
Sun, Nov 10, 00:26
Unknown Object (File)
Sat, Nov 9, 23:23
Unknown Object (File)
Sat, Nov 9, 23:21
Unknown Object (File)
Sat, Nov 9, 23:21
Unknown Object (File)
Sat, Nov 9, 21:29
Subscribers
None

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
Lint Passed
Unit
Tests Passed
Branch
master
Build Status
Buildable 2510
Build 2758: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Apr 16 2018, 01:08

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

This revision was automatically updated to reflect the committed changes.