{"id":3868,"date":"2022-01-19T11:14:20","date_gmt":"2022-01-19T11:14:20","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=3868"},"modified":"2022-02-17T07:13:46","modified_gmt":"2022-02-17T07:13:46","slug":"modulo","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/php\/maths\/modulo","title":{"rendered":"Modulo"},"content":{"rendered":"\n<p>The modulo operator returns the remainder after the left operand is divided by the right operand.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  echo 7 % 3;   \/\/Prints: 1<\/code><\/pre>\n\n\n\n<p><em>The modulo operator will convert its operands to integers before performing the operation, rounding down.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The modulo operator returns the remainder after the left operand is divided by the right operand. The modulo operator will convert its operands to integers before performing the operation, rounding down.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[261],"tags":[],"class_list":["post-3868","post","type-post","status-publish","format-standard","hentry","category-maths"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/3868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=3868"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/3868\/revisions"}],"predecessor-version":[{"id":3869,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/3868\/revisions\/3869"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=3868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=3868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=3868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}