摘要:
NSString *documentPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];NSString *realPath =[documentPath stringByAppendingPathComponent:filename];用这... 阅读全文
摘要:
int型 用@"%d年%02d月%02d日",2010,9,5 输出可以转成2位数,结果为:2010年09月05日.float型 可以用%.2f 输出得到小数点后2位的结果输出. 阅读全文