Skip to content

[REF]main.py: fix generated VALUE formula in `__prepare_calc_formulas` function

Florent Aide requested to merge bitbucket/merged-pr-47 into branch/default

Created originally on Bitbucket by z_makrelouf (Zakaria Makrelouf)

Was already merged in Bitbucket before import, marked as merged by the import user

If the Genshi expressions generates a number value (float or integer), the generated formula will be =VALUE("1.1") which is problematic if the user machine is configured to use a decimal separator different than the .. With this fix the generated formula will be =VALUE(1.1) (without the quotes) which is correctly handled with by the .ods format.

Merge request reports