UpperCase RomanToArabic Number
This commit is contained in:
parent
321c48873e
commit
98a27270ff
@ -225,6 +225,7 @@ $(function () {
|
||||
if (!isNaN(parseInt(numbersValue))) {
|
||||
$('.results').html(`<b>${numbersValue}</b> est déjà en chiffres arabes.`);
|
||||
} else {
|
||||
numbersValue = numbersValue.toUpperCase();
|
||||
let result = convertRomanToArabic(numbersValue);
|
||||
$('.results').html(`<b>${numbersValue}</b> s'écrit <b>${result}</b> en chiffres arabes.`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user