{"version":"1.0","provider_name":"Hatena Blog","title":"C/C++\u3067\u56db\u6368\u4e94\u5165","image_url":null,"blog_url":"https://blog.systemjp.net/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F20090730%2Fp3\" title=\"C/C++\u3067\u56db\u6368\u4e94\u5165 - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_title":"shikaku's blog","categories":["C","CPP"],"provider_url":"https://hatena.blog","author_name":"shikaku","author_url":"https://blog.hatena.ne.jp/shikaku/","published":"2009-07-30 00:00:00","description":"\u5c0f\u6570\u3092\u6574\u6570\u306b\u56db\u6368\u4e94\u5165\u3059\u308b\u5834\u5408\u3002 #include <math.h> ... double x = 5.5674; // \u4f8b double round_x; round_x=floor(x*100+0.5)/100; ... floor()\u306f \u5165\u529b\u5024\u4ee5\u4e0b\u306e\u6700\u5927\u306e\u6574\u6570\u5024\u3092\u8a08\u7b97\u3059\u308b\u95a2\u6570\u3002\u53c2\u8003 http://oshiete.nikkeibp.co.jp/qa2207594.html http://www.bohyoh.com/CandCPP/C/Library/floor.html","url":"https://blog.systemjp.net/entry/20090730/p3","width":"100%"}