We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a137352 commit 8d66a94Copy full SHA for 8d66a94
Coding_iOS/Util/Manager/SendRewardManager.m
@@ -193,7 +193,7 @@ - (NSAttributedString *)p_titleStr{
193
194
195
- (NSAttributedString *)p_bottomStr{
196
- NSString *tempStr = [NSString stringWithFormat:@"我的码币余额:%@ ", [Login curLoginUser].points_left.stringValue];
+ NSString *tempStr = [NSString stringWithFormat:@"我的码币余额:%.2f ", [Login curLoginUser].points_left.floatValue];
197
NSMutableAttributedString *bottomStr = [[NSMutableAttributedString alloc] initWithString:tempStr];
198
[bottomStr addAttribute:NSForegroundColorAttributeName value:[UIColor colorWithHexString:@"0xF5A623"] range:[tempStr rangeOfString:[Login curLoginUser].points_left.stringValue]];
199
return bottomStr;
0 commit comments