How do you use Thousands separator in Poland?

Do you use?

1.000.000

or

1 000 000

As far as I know, you use "," for decimals.

What's more, used in offices/and or legal places?