{"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":"2026-06-16T15:49:50","modified_gmt":"2026-06-16T12:49:50","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 &#171;Mathematics&#187; 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 &#171;Value&#187; or a &#171;Variable&#187;:\n<ul>\n<li>If &#171;Value&#187; is selected, you can enter a number for both operands in the &#171;Value&#187; field;<\/li>\n\n\n\n<li>If &#171;Variable&#187; 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\/2026\/06\/math1-1.png\"><img decoding=\"async\" width=\"280\" height=\"788\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math1-1.png\" alt=\"\" class=\"wp-image-4331\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math1-1.png 280w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math1-1-107x300.png 107w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math2.png\"><img decoding=\"async\" width=\"267\" height=\"788\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math2.png\" alt=\"\" class=\"wp-image-4333\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math2.png 267w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math2-102x300.png 102w\" sizes=\"(max-width: 267px) 100vw, 267px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<p>You can set one operand to a fixed &#171;Value&#187; and pass the other to a &#171;Variable&#187;.<\/p>\n\n\n\n<p>When a &#171;Variable&#187; is selected, a new &#171;Nested object&#187; 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\/2026\/06\/math3.png\"><img decoding=\"async\" width=\"280\" height=\"788\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math3.png\" alt=\"\" class=\"wp-image-4335\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math3.png 280w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math3-107x300.png 107w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/a><\/figure>\n\n\n\n<p> To transfer and save the result, the &#171;Result variable&#187; 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\/2026\/06\/math4.png\"><img decoding=\"async\" width=\"273\" height=\"786\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math4.png\" alt=\"\" class=\"wp-image-4336\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math4.png 273w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math4-104x300.png 104w\" sizes=\"(max-width: 273px) 100vw, 273px\" \/><\/a><\/figure>\n\n\n\n<p>You can also round up the resulting variable. To do this, turn on the Round slider:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math5.png\"><img decoding=\"async\" width=\"271\" height=\"782\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math5.png\" alt=\"\" class=\"wp-image-4337\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math5.png 271w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math5-104x300.png 104w\" sizes=\"(max-width: 271px) 100vw, 271px\" \/><\/a><\/figure>\n\n\n\n<p>After that, enter the number of characters that must be left after the decimal point:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math6.png\"><img decoding=\"async\" width=\"277\" height=\"792\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math6.png\" alt=\"\" class=\"wp-image-4338\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math6.png 277w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/math6-105x300.png 105w\" sizes=\"(max-width: 277px) 100vw, 277px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The &#171;Mathematics&#187; block performs mathematical operations. The block properties contains three types of settings: You can set one operand to a fixed &#171;Value&#187; and pass the other to a &#171;Variable&#187;. When a &#171;Variable&#187; is selected, a new &#171;Nested object&#187; 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":11,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3489\/revisions"}],"predecessor-version":[{"id":4339,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3489\/revisions\/4339"}],"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}]}}