whichSubject = "Currency" addNew = False Flow_1m6sgai Flow_0xpgl88 Flow_18r0v1l Flow_0xpgl88 Flow_18zj1kx Currency_Format Flow_1146lni Flow_174qezd Flow_174qezd Flow_1jyj2rk # Add zeros if less than two decimal digits curAmount_str = "{:0,.2f}".format(curAmount) # Check if separaters need to be swapped if curThousandsSeparator == ".": main_currency, fractional_currency = curAmount_str.split(".")[0], curAmount_str.split(".")[1] new_main_currency = main_currency.replace(",", ".") curAmount_str = new_main_currency + curFractionalSeparator + fractional_currency # Add Currency Symbol if curSymbolLocation == "Left": curAmount_str = curSymbol + " " * curSymbolSpaces + curAmount_str elif curSymbolLocation == "Right": curAmount_str = curAmount_str + " " * curSymbolSpaces + curSymbol # Add Currency Code curAmount_str = curAmount_str + " " + curCode {{ curAmount_str }} Flow_1qlhanf Flow_0ljzxco # Check If Testing try: isCurTest catch NameError: isCurTest = True Flow_1m6sgai Flow_17jio5w isCurTest Flow_18zj1kx Flow_17jio5w Flow_1jyj2rk Flow_1qlhanf Flow_0hyui7b isCurTest Flow_0ljzxco Flow_0hyui7b Flow_18r0v1l Flow_1146lni