Closed DylanXie123 closed 4 years ago
Parse expression '3/4/5' gives wrong result, it should be '3/20', but it gives '15/4' instead.
const algebraLatex = require("algebra-latex"); const algebrite = require('algebrite'); const parser = new algebraLatex(); let expStr = '3/4/5'; parser.parseLatex(expStr); let exp = parser.toAlgebra(algebrite); console.log(exp.toString()) // gives "15/4" here
This should be fixed in v2.0.1
That works, thanks!
Parse expression '3/4/5' gives wrong result, it should be '3/20', but it gives '15/4' instead.