Subversion Repositories heating

Rev

Rev 5 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 26
Line 57... Line 57...
57
		}
57
		}
58
 
58
 
59
		inline std::string doubleToString(double d, int prec)
59
		inline std::string doubleToString(double d, int prec)
60
		{
60
		{
61
			std::stringstream stream;
61
			std::stringstream stream;
62
			stream << std::setprecision(prec) << d;
62
			stream << std::fixed << std::setprecision(prec) << d;
63
			return stream.str();
63
			return stream.str();
64
		}
64
		}
65
 
65
 
66
	private:
66
	private:
67
		char pname[48];
67
		char pname[48];