I have an issue with one of my templates, where my formula is incorrectly calculating based off of the digits within a number preceding a comma - see below: 1,000 - 800 = -799
This does not seem to be an issue when there is no comma in the value - see below: 750 - 800 = -50:
Are you able to advise what I may be missing from my code?
The problem is that you assign the value to ‘budgeted_cost’ as an integer. The solution is to delete the pipe with “integer” in the assignment of ‘budgeted_cost’. To display the ‘budgeted_cost’ correctly, you should put the pipe with integer behind ‘budgeted_cost’ when printing it: