Updated Division.js

This commit is contained in:
Andrea Cavalli 2017-12-23 15:04:30 +01:00
parent c18596661f
commit aa9e36d72c

View File

@ -58,11 +58,13 @@ var rule = {
nmb2 = nmb2.divide(integerNumber);
});
result.add(new Division(mathContext, new Number(mathContext, nmb1), new Number(mathContext, nmb2)));
return result;
}
}
} else {
//divide a by b (a/b = c)
result.add(variable1.divide(variable2));
return result;
}
}
}