Nanga Parbat 1.1.0
A TMD fitting framework
tostringwprecision.h
Go to the documentation of this file.
1//
2// Author: Chiara Bissolotti: chiara.bissolotti01@universitadipavia.it
3//
4
5#pragma once
6
7#include <string>
8#include <sstream>
9#include <algorithm>
10
11namespace NangaParbat
12{
20 std::string to_string_with_precision(const double a_value, const int n = 3);
21}
Definition: bstar.h:12
std::string 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...