diff --git a/roman-numerals.md b/roman-numerals.md index 42a89747..bf8912ba 100644 --- a/roman-numerals.md +++ b/roman-numerals.md @@ -644,8 +644,8 @@ var allRomanNumerals = RomanNumerals{ } // later.. -func ConvertToArabic(roman string) uint16 { - var arabic uint16 = 0 +func ConvertToArabic(roman string) int { + var arabic = 0 for _, numeral := range allRomanNumerals { for strings.HasPrefix(roman, numeral.Symbol) {