<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku/</author_url>
  <blog_title>shikaku's blog</blog_title>
  <blog_url>https://blog.systemjp.net/</blog_url>
  <categories>
  </categories>
  <description>#include &lt;iostream&gt; #include &lt;iomanip&gt; #include &lt;sstream&gt; std::string doubleToStr(double value) { std::ostringstream oss; if (fmod(value, 1.0) == 0.0) { // 小数点以下が0の場合、整数として出力 oss &lt;&lt; std::fixed &lt;&lt; int(value); } else { // 小数点以下がある場合、小数点を含めて出力 oss &lt;&lt; std::fixed &lt;&lt; std::setprecision(2) &lt;&lt; value; } retur…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2024%2F01%2F31%2F232221&quot; title=&quot;MFC C++でdouble型の変数から小数点以下が0なら整数の文字列、0でないなら小数点以下を含む文字列を生成する - shikaku&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-31 23:22:21</published>
  <title>MFC C++でdouble型の変数から小数点以下が0なら整数の文字列、0でないなら小数点以下を含む文字列を生成する</title>
  <type>rich</type>
  <url>https://blog.systemjp.net/entry/2024/01/31/232221</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
