OH 4x - format numbers above 999 with dot

Hi,

I like to find out how to format numbers above 999 with the german “.” dot for every 1000 like 100.000.000 for 100 million. I know the stateDescription option but being unable to figure out how to do it. Any suggestions?

Thank You
Markus

I have not tried it, but you could try something like %,.1f … although there will certainly be interference between the Anglo-Saxon form “1,000,000.123” and the German form “1.000.000,123”

Ahh thank you, that worked. I got somehow lost by reading through the java formatter class.

Would be great to have a couple of these as a direct example in the openhab docs.