UpperCase RomanToArabic Number

This commit is contained in:
Divlo 2019-09-22 10:48:03 +02:00
parent 321c48873e
commit 98a27270ff

View File

@ -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.`);
}