GREEN: add roman symbol for 6

This commit is contained in:
fiatcode 2026-02-10 08:43:00 +07:00
parent dfa3b66ccb
commit 445ba862ee

View file

@ -1,5 +1,5 @@
String integerToRoman(int number) {
const romanSymbols = {5: 'V', 1: 'I'};
const romanSymbols = {6: 'VI', 5: 'V', 1: 'I'};
if (_isSubtractiveCase(number)) {
return romanSymbols[1]! + romanSymbols[5]!;