Forum Academy Marketplace Showcase Pricing Features

Calculation problem: comma's create issue

I have issues with the calculation of an average grade. Weirdly enough, it only happens when i make use of comma’s.
So when set my language to EN_GB, it all works fine. When I set the language to nl_nl, it all crashes… I have no clue why. Can someone help me out?

I make use of the following calculator:

The problem with this function is as follows: you can choose between text result and number result. A logical result would be number result. But in this case, when we are calculation with commas, the number result will be transformed to a ‘period’ grade.

So what to do? In my case, I had 2 sections of the calculation. part 1 / part 2 = outcome.
I seperated the part 1 and part 2 from each other. Then I used another plugin called expression (from the toolbox).

Do in this expression: part 1’text result / part 2’text result:formatted as 1028,00

And there you go. I dont know if this works for everyone…

This topic was automatically closed after 70 days. New replies are no longer allowed.