{"id":3489,"date":"2024-05-22T13:35:52","date_gmt":"2024-05-22T10:35:52","guid":{"rendered":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3489"},"modified":"2025-02-07T11:35:21","modified_gmt":"2025-02-07T08:35:21","slug":"mathematics","status":"publish","type":"page","link":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3489","title":{"rendered":"Mathematics"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math0.png\"><img decoding=\"async\" width=\"137\" height=\"122\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math0.png\" alt=\"\" class=\"wp-image-3490\"\/><\/a><\/figure>\n\n\n\n<p>The &#8220;Mathematics&#8221; block performs mathematical operations.<\/p>\n\n\n\n<p>The block properties contains three types of settings:<\/p>\n\n\n\n<ul>\n<li>The first and second operands can be set by a &#8220;Value&#8221; or a &#8220;Variable&#8221;:\n<ul>\n<li>If &#8220;Value&#8221; is selected, you can enter a number for both operands in the &#8220;Value&#8221; field;<\/li>\n\n\n\n<li>If &#8220;Variable&#8221; is selected, the values are passed through the variable;\n<ul>\n<li>you can enter both positive and negative numbers, integers and fractions, separating them with a dot or comma;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Selection of the operation and the resulting variable.<\/li>\n<\/ul>\n\n\n\n<div class=\"is-nowrap is-layout-flex wp-container-1 wp-block-group\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math1.png\"><img decoding=\"async\" width=\"241\" height=\"447\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math1.png\" alt=\"\" class=\"wp-image-3491\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math1.png 241w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math1-162x300.png 162w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math2.png\"><img decoding=\"async\" width=\"237\" height=\"564\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math2.png\" alt=\"\" class=\"wp-image-3492\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math2.png 237w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math2-126x300.png 126w\" sizes=\"(max-width: 237px) 100vw, 237px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<p>You can set one operand to a fixed &#8220;Value&#8221; and pass the other to a &#8220;Variable&#8221;.<\/p>\n\n\n\n<p>When a &#8220;Variable&#8221; is selected, a new &#8220;Nested object&#8221; block appears. For more information about using it, see the <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=837#Nested_object\">Variable<\/a> section.<\/p>\n\n\n\n<p>Available operations in the block:<\/p>\n\n\n\n<ul>\n<li> Addition;<\/li>\n\n\n\n<li>Subtraction;<\/li>\n\n\n\n<li>Multiplication;<\/li>\n\n\n\n<li>Division.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math3.png\"><img decoding=\"async\" width=\"260\" height=\"577\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math3.png\" alt=\"\" class=\"wp-image-3493\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math3.png 260w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math3-135x300.png 135w\" sizes=\"(max-width: 260px) 100vw, 260px\" \/><\/a><\/figure>\n\n\n\n<p> To transfer and save the result, the &#8220;Result variable&#8221; block is used, in which a variable is selected to store the result of a mathematical operation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math4.png\"><img decoding=\"async\" width=\"248\" height=\"456\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math4.png\" alt=\"\" class=\"wp-image-3494\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math4.png 248w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/math4-163x300.png 163w\" sizes=\"(max-width: 248px) 100vw, 248px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;Mathematics&#8221; block performs mathematical operations. The block properties contains three types of settings: You can set one operand to a fixed &#8220;Value&#8221; and pass the other to a &#8220;Variable&#8221;. When a &#8220;Variable&#8221; is selected, a new &#8220;Nested object&#8221; block appears. For more information about using it, see the Variable section. Available operations in the <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3489\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Mathematics<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl\/scenario-personal.php","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3489"}],"collection":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3489"}],"version-history":[{"count":6,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3489\/revisions"}],"predecessor-version":[{"id":4184,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3489\/revisions\/4184"}],"wp:attachment":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}