functions to enforce german number formats