New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable decimal symbol in Calc package
Comments
You can use the following patch to allow using the "," as decimal symbol (and the "^" for "**"). |
FYI, the patch provided by @gschenck is still up-to-date as of v2.8. |
EDIT by @polyvertex: @ThaSiouL has published its contribution in a GitHub repository If you want full configurability, you can use this version: |
EDIT by @polyvertex: @ThaSiouL has published its contribution in a GitHub repository updated version posted in #98 |
Another suggestion to realize usage of "^" instead of "**" would be provided by the following patch for the original calc.py. I would regard this as a more safe variant compared to replace() I'm not sure whether to add it as PullRequest to ThaSiouL s repository or feel free to integrate it to official package |
I'd like to implement it for now. Would you like to make a request or should i merge it myself? (My idea was to make aliases configurable in the |
The Calc-features was the first thing I tested since I have had problems with those plugins in Launchy. And since I'm swedish this configuration was my first stumbling point, it is needed to allow for our decimal comma. So many thanks for this patch! Minor thing though, replacing the already used instances of comma with period is not the best option, it just looks wrong. Instead you should use the same approach as swedish Excel/VBA formulas and use semicolon for separating arguments, or at least make it configurable. That is: |
The |
QX4 commentedJun 24, 2016
Use the decimal symbol set in Windows' Region and Language options (like Launchy) and/or make it an option in calc.ini.
The text was updated successfully, but these errors were encountered: