{"id":303,"date":"2024-10-04T10:17:09","date_gmt":"2024-10-04T09:17:09","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=303"},"modified":"2024-10-04T10:17:09","modified_gmt":"2024-10-04T09:17:09","slug":"mwnci-oct-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-oct-function\/","title":{"rendered":"Mwnci oct() Function"},"content":{"rendered":"<h2><span id=\"Syntax\" class=\"mw-headline\">Syntax<\/span><\/h2>\n<p>oct(<i><b>integer<\/b><\/i>)<\/p>\n<h2><span id=\"Description\" class=\"mw-headline\">Description<\/span><\/h2>\n<p>The <i>oct()<\/i> will return the octal equivalent of the decimal <i>integer<\/i> passed to the function.<\/p>\n<h2><span id=\"Example\" class=\"mw-headline\">Example<\/span><\/h2>\n<pre>a=oct(12)\r\nprintln(\"The octal for 12 is: \", a)\r\n\r\n\r\nThe octal for 12 is: 014\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax oct(integer) Description The oct() will return the octal equivalent of the decimal integer passed to the function. Example a=oct(12) println(&#8220;The octal for 12 is: &#8220;, a) The octal for 12 is: 014<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-303","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=303"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/303\/revisions"}],"predecessor-version":[{"id":304,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/303\/revisions\/304"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}