gtg922r / obsidian-numerals

An obsidian plugin which turns a math code block into a full featured calculator
Other
389 stars 7 forks source link

Issue with math-tex and decimals #45

Closed MalysMarcin closed 11 months ago

MalysMarcin commented 1 year ago

Hi, Numerals is great, but in math-tex style it does not calculate results with comma. If I calculate: 1/2(75 kg+1.8 kg)(0.2 m)^2 I get =1,536 kg m^2 - which is correct However, in tex style I get: 1536 kg m2 - so without comma.

I checked all options of decimal separator and changed also system settings for decimal symbol.

It is windows based system. Where could be a problem? On Your readme file I can see tex style with decimal so it should work? Reagrds Marcin image

gtg922r commented 1 year ago

@MalysMarcin thanks for highlighting. I had hoped release 1.2.0 fixed these bugs!

MalysMarcin commented 1 year ago

It looks like version 1.1.16 but cannot get 1.2.0 from Obsidian web page. Please find screen pic below: image navigator.language is 'pl' which is my langauge :)

MalysMarcin commented 1 year ago

Hi, I realized today that your ask was not for Obsidian version but for Numeral version. In that case I am using 1.2.0 image :)

gtg922r commented 11 months ago

Finally found the bug! I think it should be fixed now. Its in the latest Numerals beta, 1.3.1. To install the beta, please see the beta instructions in the README to install via BRAT.

If you find this bug is still an issue with the beta, please re-open it!