From 66692f1b1d5d825ed7b7db4d52283c564d10a9da Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 22 Feb 2018 21:17:37 +0000 Subject: [PATCH] Fix --- assets/json/roman-numeral.json | 3 ++- commands/number-edit/roman-numeral.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/json/roman-numeral.json b/assets/json/roman-numeral.json index e2136ba5..6097cc94 100644 --- a/assets/json/roman-numeral.json +++ b/assets/json/roman-numeral.json @@ -11,5 +11,6 @@ "IX": 9, "V": 5, "IV": 4, - "I": 1 + "I": 1, + "_nulla_": 0 } diff --git a/commands/number-edit/roman-numeral.js b/commands/number-edit/roman-numeral.js index 4e3b9304..c7b73f0b 100644 --- a/commands/number-edit/roman-numeral.js +++ b/commands/number-edit/roman-numeral.js @@ -14,6 +14,7 @@ module.exports = class RomanNumeralCommand extends Command { key: 'number', prompt: 'What number would you like to convert to roman numerals?', type: 'integer', + min: 0, max: 4999 } ]