{"id":1858,"date":"2015-05-15T09:05:03","date_gmt":"2015-05-15T00:05:03","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=1858"},"modified":"2015-05-15T09:05:03","modified_gmt":"2015-05-15T00:05:03","slug":"funchex","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/funchex\/","title":{"rendered":"\u6307\u5b9a\u3057\u305f\u5024\u309216\u9032\u6570\u3067\u8868\u8a18\u3057\u305f\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\uff08Hex \u95a2\u6570\uff09"},"content":{"rendered":"<h2>Hex \u95a2\u6570 \u306e\u4f7f\u3044\u65b9<\/h2>\n<br \/>\n<div class=\"m30-l\">\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p><em>result<\/em> = <strong>Hex<\/strong> ( <em>expression<\/em> )<\/p>\n<\/div>\n<br \/>\n<h3>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h3>\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>expression&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u4efb\u610f\u306e\u6570\u5f0f\u30fb\u6587\u5b57\u5217\u5f0f\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>result&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>expression<\/em> \u309216\u9032\u6570\uff08\u6700\u59278\u6841\uff09\u3067\u8868\u3057\u305f\u6587\u5b57\u5217\u5f0f\uff08String\uff09\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u5f15\u6570 <em>expression<\/em> \u304c\u3001\u6574\u6570\u3067\u306a\u3044\u5834\u5408\u306f\u3001<span class=\"blue\">\u4e00\u756a\u8fd1\u3044\u6574\u6570\u306b\u4e38\u3081\u3089\u308c\u307e\u3059<\/span>\u3002<\/p>\n<p class=\"caution4\">\u5f15\u6570 <em>expression<\/em> \u304c\u3001<strong>Null \u5024<\/strong>\u306e\u5834\u5408\u306f\u3001<strong>Null \u5024<\/strong>\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p class=\"caution4\">\u5f15\u6570 <em>expression<\/em> \u304c\u3001<strong>Empty \u5024<\/strong>\u306e\u5834\u5408\u306f\u3001<strong>0<\/strong> \u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p class=\"caution4\">\u9069\u5207\u306a\u7bc4\u56f2\u306e\u6570\u5024\u306e\u524d\u306b\u300c <strong>&#038;H<\/strong> \u300d\u3092\u4ed8\u3051\u3066\u8a18\u8ff0\u3059\u308b\u3068\u3001\u5024\u3092\u76f4\u63a5 16 \u9032\u6570\u3067\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n  \uff08\u4f8b\uff0916\uff0810\u9032\u6570\uff09 \u21d2 &#038;H10\uff0816\u9032\u6570\uff09<\/p>\n<\/div>\n<br \/><br \/>\n<h2>Hex \u95a2\u6570 \u306e\u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"Hex \u95a2\u6570\u306e\u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_Hex()\r\n\r\n    Debug.Print Hex(10)\r\n    \r\n    Debug.Print Hex(999)\r\n    \r\n    Debug.Print Hex(76)\r\n    \r\n    Debug.Print Hex(75.886)\r\n    \r\n    Debug.Print Hex(\"-10\")\r\n    \r\n    Debug.Print Hex(-10.25)\r\n\r\nEnd Sub\r\n\u3000\r\n<\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/05\/hex.jpg?ssl=1\" rel=\"lightbox[1858]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/05\/hex.jpg?resize=400%2C186&#038;ssl=1\" alt=\"Hex \u95a2\u6570 \u4f8b\" width=\"400\" height=\"186\" class=\"alignnone size-medium wp-image-1859\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/05\/hex.jpg?resize=400%2C186&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/05\/hex.jpg?resize=580%2C269&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/05\/hex.jpg?w=586&amp;ssl=1 586w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>Hex \u95a2\u6570 \u306e\u4f7f\u3044\u65b9 \u3010\u66f8\u5f0f\u3011 result = Hex ( expressi &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1870,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[37],"tags":[238,239,237,63,38],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/05\/hex-400x1861.jpg?fit=400%2C186&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s4Ye9i-funchex","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1858"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=1858"}],"version-history":[{"count":4,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1858\/revisions"}],"predecessor-version":[{"id":1869,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1858\/revisions\/1869"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/1870"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=1858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=1858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=1858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}