money mask

Hi there.

How to create money mask? I just want to have:

1.000,00 KM

320,25 KM

10.000,00 KM

etc.

If I use this I can fix it to: "1.000,00" but what if I have input with one zero more?

Tnx!