Hi Askel,
Sorry for the variable name's mistake, damn minification!
The problem now might be that you changed all the d's :)
Only the first d (the variable name) has to be an "e". The other d's are part of regular expressions, they represent digits.
Try again with:
case"amount_with_comma_separator":e=floatToString(b/100,2).replace(/\./,",").replace(/(\d+)(\d{3}[\.,]?)/,"$1.$2");break;