andrewcarreiro / vscode-calculate

Calculation extension for Visual Studio Code
Do What The F*ck You Want To Public License
13 stars 10 forks source link

When commas are used as decimal separator, the result should also be with comma separator #10

Open edwin-hendriks opened 5 years ago

edwin-hendriks commented 5 years ago

Now: 70*1,21=84.7

Should be: 70*1,21=84,7

navossoc commented 3 years ago

Hi there...

Since this extension seems unmaintained, I forked and created an updated version. It's almost the same code, just a few tweaks.

I did a check when replacing the commas with periods, so that we can restore them after evaluating the expression.

Feel free to check it here: https://marketplace.visualstudio.com/items?itemName=navossoc.calculate2