{"id":584,"date":"2021-12-30T17:00:46","date_gmt":"2021-12-30T17:00:46","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=584"},"modified":"2022-08-04T18:12:20","modified_gmt":"2022-08-04T18:12:20","slug":"minus","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/minus\/","title":{"rendered":"a &#8211; b"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Subtracts one numeric value from another.<\/p>\n\n\n\n<p><strong>inputs:&nbsp;<\/strong><\/p>\n\n\n\n<p><span style=\"color:#b197cb;\">a, b<\/span>&nbsp;&#8211; input two numeric values,&nbsp;e.g.&nbsp;Constants or from Sugar Fields with&nbsp;<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/get-attribute-data\/\">Get Attribute Data<\/a>&nbsp;operator.&nbsp;To avoid ambiguity in numeric values which may vary based on user preferences please use output port <span style=\"color:#6888c9;\">value<\/span> from&nbsp;<span style=\"color:#ec8f45;\">Get Attribute<\/span>&nbsp;operator to perform any math operation using Sugar fields values.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><strong>outputs:&nbsp;<\/strong><\/p>\n\n\n\n<p><span style=\"color:#b197cb;\">result<\/span>&nbsp;&#8211; difference&nbsp;of two numeric values. Can be positive when&nbsp;<em>a<\/em>&nbsp;is greater than&nbsp;<em>b<\/em>&nbsp;and negative otherwise. Usually followed by&nbsp;<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/set-entity-attributes\/\">Set Entity Attributes<\/a>&nbsp;or&nbsp;<span style=\"color:#ec8f45;\">Conditional<\/span>&nbsp;operators.&nbsp;<\/p>\n\n\n<p><a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-106-9c2c066877ee448ca27a6a5ee1c47ce2.png\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-106-9c2c066877ee448ca27a6a5ee1c47ce2-1024x367.png\" alt=\"\" class=\"wp-image-378\"><\/a><\/p><div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_584' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-584\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-1b0e9a76f86ac' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-1b0e9a76f86ac'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='584' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-1b0e9a76f86ac\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"584\" \n                               id=\"yasr-stats-dashicon-1b0e9a76f86ac\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-1b0e9a76f86ac\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-1b0e9a76f86ac\">0<\/span>  Average: <span id=\"yasr-vv-average-container-1b0e9a76f86ac\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-1b0e9a76f86ac' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-1b0e9a76f86ac' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Subtracts one numeric value from another. inputs:&nbsp; a, b&nbsp;&#8211; input two numeric values,&nbsp;e.g.&nbsp;Constants or from Sugar Fields with&nbsp;Get Attribute Data&nbsp;operator.&nbsp;To avoid ambiguity in numeric values which may vary based on user preferences please use output port value from&nbsp;Get Attribute&nbsp;operator to perform any math operation using Sugar fields values. Required: yes outputs:&nbsp; result&nbsp;&#8211; difference&nbsp;of two numeric &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/minus\/\"> <span class=\"screen-reader-text\">a &#8211; b<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-584","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=584"}],"version-history":[{"count":5,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/584\/revisions"}],"predecessor-version":[{"id":2076,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/584\/revisions\/2076"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=584"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}