Jan 29, 2012 at 11:50pm UTC
A smallest question
I want to print doubles entires without +06e etc. after numbers become too big.
If someone can quickly answer what i have to write.
Is it anything with printf accuracy like %0000.000f ?
Thank you
Jan 29, 2012 at 11:56pm UTC
You could try long double. Though, for the majority of floating point numbers, they will continue on forever. So, the range really won't matter that much
Jan 30, 2012 at 12:03am UTC
I think long double will still output them truncate in that scientific e form. I wnat them to output entire. Is this possible?
Jan 30, 2012 at 12:27am UTC
Are you wanting to just cut off some of the decimal? You can just use setprecision()
Jan 30, 2012 at 11:09am UTC
No No no decimal at all I want non deciaml numbers to appear entire and not be trunked in the scientific form +06 e and so...
Its so simple, the same simple must be the solution
Jan 30, 2012 at 1:42pm UTC
WOW wonderfull its all i need! Which of them would fit best ?