GREEN: add conversion rules for 400. 500. 900, and 1000
This commit is contained in:
parent
ccfc795ee0
commit
5bf2839e33
1 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
|||
String integerToRoman(int number) {
|
||||
const conversionRules = [
|
||||
(1000, 'M'),
|
||||
(900, 'CM'),
|
||||
(500, 'D'),
|
||||
(400, 'CD'),
|
||||
(100, 'C'),
|
||||
(90, 'XC'),
|
||||
(50, 'L'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue