1#ifndef ANTARESXPANSION_COMMONS_H
2#define ANTARESXPANSION_COMMONS_H
10const std::string indent_0 =
"\t\t";
11const std::string indent_1 =
"\t";
13inline double convert_in_million_euros(
double val) {
return val / 1e6; }
15inline std::string create_str_million_euros(
double val) {
16 std::stringstream result;
17 result << std::fixed << std::setprecision(2) << convert_in_million_euros(val);
21inline std::string create_str_euros(
double val) {
22 std::stringstream result;
23 result << std::scientific << std::setprecision(5) << val;
27inline std::string create_str_mw(
double val) {
28 std::stringstream result;
29 result << std::fixed << std::setprecision(0) << val;