format cost