Skip to content

Commit ac182aa

Browse files
committed
https://coding.net/u/coding/p/Coding-iOS/topic/377114
1 parent dd9ef0c commit ac182aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Coding_iOS/Controllers/RootControllers/Me_RootViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
202202
[cell.contentView removeViewWithTag:pointTag];
203203
if (indexPath.section == 1 && indexPath.row == 0) {
204204
UILabel *pointL = [UILabel labelWithFont:[UIFont systemFontOfSize:13] textColor:kColorLightBlue];
205-
pointL.text = [NSString stringWithFormat:@"%@ 码币", _curServiceInfo.point_left ?: @"--"];
205+
pointL.text = _curServiceInfo.point_left? [NSString stringWithFormat:@"%.2f 码币", _curServiceInfo.point_left.floatValue]: @"-- 码币";
206206
pointL.tag = pointTag;
207207
[cell.contentView addSubview:pointL];
208208
[pointL mas_makeConstraints:^(MASConstraintMaker *make) {

0 commit comments

Comments
 (0)