Format numbers in GlobalData to control the number of decimals