diff --git a/mar/editor.js b/mar/editor.js index f88dcd5..9c5b0c9 100644 --- a/mar/editor.js +++ b/mar/editor.js @@ -172,7 +172,7 @@ function getOperandType(text, result) { //Check IMM if (!isNaN(Number(text)) && Number(text) === Math.floor(Number(text)) && text.indexOf("o") === -1 - && text.indexOf("e") === -1) { + && text.indexOf("0e") !== 0) { return OPERAND_IMM; }