{"provider_name":"Hatena Blog","published":"2022-06-24 22:00:00","height":"190","version":"1.0","url":"https://yamaimo.hatenablog.jp/entry/2022/06/24/220000","blog_title":"\u3044\u3082\u306e\u3084\u307e\u3002","author_url":"https://blog.hatena.ne.jp/yamaimo0625/","type":"rich","provider_url":"https://hatena.blog","title":"Python\u306e\u56db\u6368\u4e94\u5165\u3067\u56db\u82e6\u516b\u82e6\u3057\u305f\u8a71\u3002\uff08\u305d\u306e2\uff09","image_url":null,"categories":["\u6280\u8853","Python"],"author_name":"yamaimo0625","description":"\u524d\u56de\u306e\u3042\u3089\u3059\u3058\uff1a Python\u306e\u30d3\u30eb\u30c8\u30a4\u30f3\u306eround()\u306f\u666e\u901a\u306e\u56db\u6368\u4e94\u5165\u3068\u306f\u9055\u3046\u5076\u6570\u4e38\u3081\u3068\u3044\u3046\u3082\u306e\u3060\u3063\u305f\u306e\u3067\u3001floor()\u3092\u4f7f\u3063\u3066\u666e\u901a\u306e\u56db\u6368\u4e94\u5165\u3092\u5b9f\u88c5\u3057\u305f\u3088\u3002 \u8aa4\u5dee\u3068\u306e\u6226\u3044 \u3068\u3001\u307e\u3041\u666e\u901a\u306f\u3053\u3053\u307e\u3067\u306a\u3093\u3060\u3051\u3069\u3001\u3044\u308d\u3044\u308d\u8a66\u3059\u3068\u300c\u3042\u308c\uff1f\u300d\u3063\u3066\u306a\u308b\u30b1\u30fc\u30b9\u304c\u51fa\u3066\u304f\u308b\u3002 \u5177\u4f53\u7684\u306b\u306f\u30011.255\u3092\u56db\u6368\u4e94\u5165\u3057\u3066\u5c0f\u6570\u7b2c\u4e8c\u4f4d\u307e\u3067\u306b\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u3002 \u666e\u901a\u306b\u8003\u3048\u308c\u3070\u5c0f\u6570\u7b2c\u4e09\u4f4d\u306e\u6570\u5b57\u304c5\u306a\u306e\u3067\u5207\u308a\u4e0a\u3052\u3089\u308c\u30661.26\u306b\u306a\u308b\u3068\u601d\u3046\u3051\u3069\u3001\u6b8b\u5ff5\u306a\u304c\u3089\u305d\u3046\u306f\u306a\u3089\u306a\u3044\u3002 myround2(1.255, 2) # => 1.25 \u3061\u306a\u307f\u306b\u5076\u6570\u4e38\u3081\u3059\u308bround()\u306a\u3089\u3053\u308c\u306f1.26\u306b\u306a\u308b\u306f\u305a\u306a\u3093\u3060\u3051\u3069\u3001\u8a66\u3057\u305f\u3089\u3053\u3046\u3060\u3063\u305f\uff1a r\u2026","blog_url":"https://yamaimo.hatenablog.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyamaimo.hatenablog.jp%2Fentry%2F2022%2F06%2F24%2F220000\" title=\"Python\u306e\u56db\u6368\u4e94\u5165\u3067\u56db\u82e6\u516b\u82e6\u3057\u305f\u8a71\u3002\uff08\u305d\u306e2\uff09 - \u3044\u3082\u306e\u3084\u307e\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%"}