{"title":"\u5c0f\u6570\u70b9\u306e\u5207\u308a\u6368\u3066\u3001\u5207\u308a\u4e0a\u3052\u3001\u56db\u6368\u4e94\u5165","provider_url":"https://hatena.blog","url":"https://ios.ch3cooh.jp/entry/20140306/1394047725","height":"190","categories":["\u6570\u5024\u64cd\u4f5c\u3001\u6570\u5b66"],"image_url":null,"published":"2014-03-06 04:28:45","provider_name":"Hatena Blog","blog_title":"iOS\u30a2\u30d7\u30ea\u958b\u767a\u306e\u9006\u5f15\u304d\u8f9e\u5178","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fios.ch3cooh.jp%2Fentry%2F20140306%2F1394047725\" title=\"\u5c0f\u6570\u70b9\u306e\u5207\u308a\u6368\u3066\u3001\u5207\u308a\u4e0a\u3052\u3001\u56db\u6368\u4e94\u5165 - iOS\u30a2\u30d7\u30ea\u958b\u767a\u306e\u9006\u5f15\u304d\u8f9e\u5178\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://ios.ch3cooh.jp/","version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/ch3cooh393/","width":"100%","description":"\u672c\u8a18\u4e8b\u3067\u306f\u3001\u6570\u5024\u306e\u5c11\u6570\u70b9\u306e\u51e6\u7406(\u4e38\u3081\u51e6\u7406\u3001\u6574\u6570\u5316)\u3092\u304a\u3053\u306a\u3046\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 math.h\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308bC\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u5207\u308a\u6368\u3066 math.h\u3067\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002 extern float floorf(float); extern double floor(double); extern long double floorl(long double); \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u30012.55\u306e\u5c0f\u6570\u70b9\u90e8\u5206\u3092\u5207\u308a\u6368\u3066\u3057\u30662\u306b\u3057\u307e\u3059\u3002 double value = 2.55; double result = floor(value); // \u51fa\u529b\uff1a result => 2 \u5207\u308a\u2026","author_name":"ch3cooh393"}