edit reformatNumber function