From ca7370aff2f072e9a1f80e89ce20c08f976e99ca Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 30 Jan 2018 15:27:09 +0100 Subject: SDR RC: ensure returned format is std::fixed --- src/output/SDR.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/output/SDR.cpp') diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp index 71f1436..b47433d 100644 --- a/src/output/SDR.cpp +++ b/src/output/SDR.cpp @@ -395,6 +395,7 @@ void SDR::set_parameter(const string& parameter, const string& value) const string SDR::get_parameter(const string& parameter) const { stringstream ss; + ss << std::fixed; if (parameter == "txgain") { ss << m_config.txgain; } -- cgit v1.2.3