This works wonderful, thank you so much!
The tag „amount=2.000 €“ was translated to the metadata field as „2.00 €“. Number format in system preferences was correct.
So I added the following line to the script:
set AppleScript's text item delimiters to {tagDelimiter, "."}
It works great now. All tags are converted.