I have two related questions:
I would like to know if there is a fuction to round double values to n decimal places e.g.
double value = 0.000000000234567897
value = round(value, 12) // now value is 0.000000000235 i.e to 12 decimal places
How do I watch a double value to n decimal places in visual studio c++. When I hover over a double variable I can only see up to 6 or 7 decimal places?