两种赋值方式结果一样 1.self.resultLabel.text = [NSString stringWithFormat:@“%zd”,result]; %zd自动判断%d与%ld 2.self.resultLabel.text = @(result).description;