Nanga Parbat 1.1.0
A TMD fitting framework
Namespaces | Functions
tostringwprecision.h File Reference
#include <string>
#include <sstream>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  NangaParbat
 

Functions

std::string NangaParbat::to_string_with_precision (const double a_value, const int n=3)
 Function that, given a number 'a_value', outputs a string version of 'a_value' rounding the double to show only 'n' significant figures. More...