Make sure total gets calculated correctly for locales with comma as decimal separator