Added own number format function to be able set default number format ac...

...cross whole application.
This definitely shouldn't be static.