jsxgraph / moodle-filter_jsxgraph

moodle plug-in for JSXGraph
https://jsxgraph.org
2 stars 6 forks source link

1.6 - displays whole numbers to two decimal places. #39

Closed easyflhomeschool closed 2 months ago

easyflhomeschool commented 10 months ago

I prefer my young students see whole numbers on the screen. All the numbers changed to decimal numbers to 2 places. The text on the screen is now showing quotes around it. I went back to version 1.5 and have no issues.
jsxversions

alfredwassermann commented 10 months ago

Sorry about that. A fix should be to add

JXG.Options.text.digits = 0;

before calling initBoard. What about the quotation marks around - in the right image? Can you please post a snippet how you construct these numbers and texts?

Best wishes, Alfred

easyflhomeschool commented 10 months ago

Will the fix be added and released for install? do I need to add the line to every question to force zero digits? Thank you, Wendy

On Tue, Sep 5, 2023, 6:02 AM alfredwassermann @.***> wrote:

Sorry about that. A fix should be to add

JXG.Options.text.digits = 0;

before calling initBoard. What about the quotation marks around - in the right image? Can you please post a snippet how you construct these numbers and texts?

Best wishes, Alfred

— Reply to this email directly, view it on GitHub https://github.com/jsxgraph/moodle-filter_jsxgraph/issues/39#issuecomment-1706318639, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARPSPDV5EVLSMUBMN5LHPMDXY32DJANCNFSM6AAAAAA37QDWQA . You are receiving this because you authored the thread.Message ID: @.***>

alfredwassermann commented 2 months ago

Sorry about the inconvenience. This regression will be fixed in the upcoming new release.