GREEN: add roman symbol for 7
This commit is contained in:
parent
44845ed71b
commit
6ad0556fcf
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
String integerToRoman(int number) {
|
||||
const romanSymbols = {6: 'VI', 5: 'V', 1: 'I'};
|
||||
const romanSymbols = {7: 'VII', 6: 'VI', 5: 'V', 1: 'I'};
|
||||
|
||||
if (_isSubtractiveCase(number)) {
|
||||
return romanSymbols[1]! + romanSymbols[5]!;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue