formatting and tweaking of numbers