title: How to convert a std::decimal::decimal128 to string in C++
body: <p>I want to convert a <code>std::decimal::decimal128</code> into a <code>string</code> in C++. I have tried this:</p>
  
  <pre><code>int main(int argc, char** argv) {
      std::decimal::decimal128 check1(0.1654689875468);
      string ee;  
      ee=std::to_string(check1);
  
      return 0;
  }
  </code></pre>
  
  <p>but it gives an error. I have tried so many methods, yet no one works. Anyone have an idea? Thanks in advance. </p>