User: alex clicked save for shared/currency/currency-format.bpmn

This commit is contained in:
demo 2022-10-22 05:45:05 +00:00
parent 9083d157f5
commit f45bcec5c2
1 changed files with 8 additions and 1 deletions

View File

@ -52,7 +52,14 @@ elif curSymbolLocation == "Right"
# Add Currency Code
curAmount_str = curAmount_str + " " + curCode
#
# Check if separaters need to be swapped
if curThousandsSeparator == ".":
main_currency, fractional_currency = currency.split(".")[0], currency.split(".")[1]
new_main_currency = main_currency.replace(",", ".")
currency = new_main_currency + fractional_separator + fractional_currency
"curSymbol": "$",
"addNew": false,