Whenever possible, the Euro sign goes before the number without a space in between. But there is a space between every three digits to the left of the decimal point before the next three digits.
When written, the Euro is shown by a three-letter ISO. EUR are the three letters that stand for the Euro. When you write in English, Irish, Latvian, or Maltese, you put the letters before the numbers and leave a space between them. In all other texts from the European Union, the three letters ISO come after the numbers, and there is also a space between them.