2012-03-11 51 views

回答

3

尝试:

[NSString stringWithFormat:@"%05d", score] 
+0

做了,谢谢你。 – stream 2012-03-11 07:41:08

1
NSString *numStr = [NSString stringWithFormat:@"%05d", yourNum]; 
+0

为什么它被拒绝投票?我知道这是上述答案的重复,但我在提交之前提交了它! – msk 2012-03-11 09:50:29

+0

对不起,我不知道,这不是我,但谢谢你的回答。 – stream 2012-03-11 09:56:33

+0

@MSK:看看你的答案和Behlul的​​回答时间。你会明白为什么有人投票给你。 – 2012-03-24 09:33:35

相关问题