Skip to content

parsing Decimal & rationnal dont match. #118

@lhotejc

Description

@lhotejc

Description

ce.parse("0.09").isEqual(ce.parse("\frac{9}{100}") return false

Steps to Reproduce

using ComputeEngine from "@cortex-js/compute-engine" in version 0.15.0
const ce = new ComputeEngine()
console.log(ce.parse("0.09").isEqual(ce.parse("\frac{9}{100}")) // false

Actual Behavior

it say false.

Expected Behavior

I hope true :-)

Environment

Is this a regression: I don't know...
maybe but I don't make attention to this. I ever type \frac ... before.

MathLive version
0.95.5

Operating System
Linux ubuntu 23.04

Browser

Chrome 117.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions