properly format thousands and decimals for EU