Q:

only 6 decimal places for double

I think this is a dumb question.
but i cannot figure it out. Please don't shoot me. :P
I want to get double value like
8.000000111333. but I can only get up to 6 decimal places.
for instance

double _result = 8.000000111333;
  DLog(@"%f", _result);

the console print is - 8.000000

A:

You can specify the number of decimal places in your format string, e.g., %.12f.

