We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd9ef0c commit ac182aaCopy full SHA for ac182aa
Coding_iOS/Controllers/RootControllers/Me_RootViewController.m
@@ -202,7 +202,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
202
[cell.contentView removeViewWithTag:pointTag];
203
if (indexPath.section == 1 && indexPath.row == 0) {
204
UILabel *pointL = [UILabel labelWithFont:[UIFont systemFontOfSize:13] textColor:kColorLightBlue];
205
- pointL.text = [NSString stringWithFormat:@"%@ 码币", _curServiceInfo.point_left ?: @"--"];
+ pointL.text = _curServiceInfo.point_left? [NSString stringWithFormat:@"%.2f 码币", _curServiceInfo.point_left.floatValue]: @"-- 码币";
206
pointL.tag = pointTag;
207
[cell.contentView addSubview:pointL];
208
[pointL mas_makeConstraints:^(MASConstraintMaker *make) {
0 commit comments