double number = 1.23424; NSString *ch ; ch = [NSString stringWithFormat:@"%lf\n",number]; NSLog(@"Begin to printf: \n"); NSLog(@"%@\n", ch);