obsidian-simple-table-math icon indicating copy to clipboard operation
obsidian-simple-table-math copied to clipboard

Incorrect calculation of SUM for MUL

Open TurWokc opened this issue 11 months ago • 3 comments

The plugin incorrectly calculates the total amount in the table. When using the SUM^RUB formula for the Total column, the plugin outputs the result of 25.000,00 RUB, although the actual amount should be 250.00 RUB.

| Item   | Price | Quantity | Total      |
| ------ | ----- | -------- | ---------- |
| one    | 50    | 2        | `MUL<2RUB` |
| two    | 10    | 5        | `MUL<2RUB` |
| three  | 20    | 5        | `MUL<2RUB` |
| Total: |       |          | `SUM^RUB`  |
Image

I'm sorry for the mistakes, I translated it in the translator.

TurWokc avatar Dec 05 '25 22:12 TurWokc

It looks good here: Image Did you have changed the Number Formatting in the Settings? It is reportedly not really working well.

SanskritFritz avatar Jan 07 '26 09:01 SanskritFritz

I have the same problem. In Poland we use coma as decimal separator and add-on will not recognise it as separator. When I changed it to dot it started to calculate properly. And result is shown with coma as separator.

Image Image

pawerak avatar Feb 21 '26 10:02 pawerak

Honestly the maintainer seems having a break from the project. Previously he said, he had health problems, hopefully this is not the case this time, I wish him the best. In the meanwhile you can try the CalcCraft plugin.

SanskritFritz avatar Feb 21 '26 12:02 SanskritFritz