{"height":"190","type":"rich","blog_title":"Perl\u5165\u9580\u30bc\u30df","url":"https://perlcodesample.hatenadiary.jp/entry/20080901/1220265719","categories":[],"title":"2\u9032\u6570\u30018\u9032\u6570\u300116\u9032\u6570\u306e\u9032\u6570\u5909\u63db","author_url":"https://blog.hatena.ne.jp/perlcodesample/","description":"Perl \u203a \u9032\u6570\u5909\u63db Perl\u3067\u300c\u9032\u6570\u5909\u63db\u300d\u3092\u884c\u3046\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 10\u9032\u6570\u304b\u30892\u9032\u6570\u30018\u9032\u6570\u300116\u9032\u6570\u3078\u306e\u5909\u63db 10\u9032\u6570\u304b\u30892\u9032\u6570\u30018\u9032\u6570\u300116\u9032\u6570\u306b\u5909\u63db\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002sprintf\u95a2\u6570\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6307\u5b9a\u3092\u4f7f\u3044\u307e\u3059\u3002 # 2\u9032\u6587\u5b57\u5217\u306b\u5909\u63db my $bit_str = sprintf(\"%b\", $num); # 8\u9032\u6587\u5b57\u5217\u306b\u5909\u63db my $oct_str = sprintf(\"%o\", $num); # 16\u9032\u6587\u5b57\u5217\u306b\u5909\u63db my $hex_str = sprintf(\"%X\", $num); 10\u9032\u6587\u5b57\u5217\u30922\u9032\u6570\u306b\u5909\u63db\u3059\u308b\u306b\u306f\u3001sprintf\u95a2\u6570\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6307\u5b9a\u3067 \"%b\"\u3068\u3057\u307e\u3059\u30028\u2026","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","published":"2008-09-01 19:41:59","blog_url":"https://perlcodesample.hatenadiary.jp/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20080901%2F1220265719\" title=\"2\u9032\u6570\u30018\u9032\u6570\u300116\u9032\u6570\u306e\u9032\u6570\u5909\u63db - Perl\u5165\u9580\u30bc\u30df\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"perlcodesample","image_url":null}