If I have a decimal separator other than ".", I have an error in calculation of total amount:
Then I removed the thousand and decimal detection in the function calculateTotalAmount because we can use separator and thousandMarker already defined by contribution, participant, etc.