Save number formating info in database (#303)