Closed christianp closed 2 months ago
e.g. Numbas.jme.tokenToDisplayString(Numbas.jme.builtinScope.evaluate('dec(1.2)'), Numbas.jme.builtinScope) returns 1.2 when the preferred number notation is plain-eu. It should return 1,2.
Numbas.jme.tokenToDisplayString(Numbas.jme.builtinScope.evaluate('dec(1.2)'), Numbas.jme.builtinScope)
1.2
plain-eu
1,2
e.g.
Numbas.jme.tokenToDisplayString(Numbas.jme.builtinScope.evaluate('dec(1.2)'), Numbas.jme.builtinScope)
returns1.2
when the preferred number notation isplain-eu
. It should return1,2
.