Hi,
Is there any way I can display a value to a specified number of significant digits?
Thanks
This is a discussion on Significant Digits within the C++ Programming forums, part of the General Programming Boards category; Hi, Is there any way I can display a value to a specified number of significant digits? Thanks...
Hi,
Is there any way I can display a value to a specified number of significant digits?
Thanks
setw() and setprecision() will help.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.