{"author_name":"yamaimo0625","title":"Python\u306e\u56db\u6368\u4e94\u5165\u3067\u56db\u82e6\u516b\u82e6\u3057\u305f\u8a71\u3002\uff08\u305d\u306e3\uff09","url":"https://yamaimo.hatenablog.jp/entry/2022/06/25/220000","image_url":null,"author_url":"https://blog.hatena.ne.jp/yamaimo0625/","width":"100%","type":"rich","categories":["\u6280\u8853","Python"],"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyamaimo.hatenablog.jp%2Fentry%2F2022%2F06%2F25%2F220000\" title=\"Python\u306e\u56db\u6368\u4e94\u5165\u3067\u56db\u82e6\u516b\u82e6\u3057\u305f\u8a71\u3002\uff08\u305d\u306e3\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>","blog_title":"\u3044\u3082\u306e\u3084\u307e\u3002","blog_url":"https://yamaimo.hatenablog.jp/","height":"190","published":"2022-06-25 22:00:00","provider_name":"Hatena Blog","description":"\u524d\u56de\u306e\u3042\u3089\u3059\u3058\uff1aRuby\u306e\u56db\u6368\u4e94\u5165\u3059\u3054\u3044\u3002PyPI\u306b\u3042\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3069\u308c\u3082\u30c0\u30e1\u3002 Ruby\u3067\u306e\u56db\u6368\u4e94\u5165\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0 \u3055\u3066\u3001\u305d\u3093\u306a\u308f\u3051\u3067\u3001Python\u304c\u3069\u3046\u3057\u3088\u3046\u3082\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u306a\u305c\u304b\u8aa4\u5dee\u306a\u304f\u56db\u6368\u4e94\u5165\u3067\u304d\u3066\u305fRuby\u3067\u306e\u5b9f\u88c5\u3092\u8abf\u3079\u3066\u307f\u305f\u3002 Ruby\u3067\u306e\u56db\u6368\u4e94\u5165\u306f\u3001numeric.c\u306eflo_round()\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u3002 flo_round()\u3067\u306f\u3044\u304f\u3064\u304b\u306e\u96e3\u3057\u3044\u30b1\u30fc\u30b9\u3078\u306e\u5bfe\u51e6\u3082\u5165\u3063\u3066\u3044\u3066\u3001\u901a\u5e38\u51e6\u7406\u306e\u672c\u4f53\u306f\u30de\u30af\u30edROUND_CALL()\u304b\u3089\u547c\u3073\u51fa\u3055\u308c\u308bround_half_up()\u3002 \u3053\u308c\u3092\u89e3\u8aad\u3057\u3066Python\u3067\u66f8\u304d\u76f4\u3059\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\uff1a def myround3(number, ndig\u2026","version":"1.0"}