{"id":9087,"date":"2016-07-29T13:00:18","date_gmt":"2016-07-29T13:00:18","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=9087"},"modified":"2016-07-29T13:00:18","modified_gmt":"2016-07-29T13:00:18","slug":"how-to-roundup-decimal-number-to-the-next-nearest-number","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/07\/29\/how-to-roundup-decimal-number-to-the-next-nearest-number\/","title":{"rendered":"How to Roundup Decimal Number to the next Nearest Number."},"content":{"rendered":"<p>While dealing with arithmetic operations, you may want to roundup the calculation result to the next nearest number. Sage X3 has a special function to achieve this.<\/p>\n<p>ARR : rounds a number to the next nearest number.<\/p>\n<p>ARR ( exp_num1, exp_num2 )<\/p>\n<p><strong>Parameter details:<\/strong><strong>\u00a0<\/strong><\/p>\n<p>exp_num1: Decimal number that will pass to \u201carr\u201d function.<\/p>\n<p>exp_num2: if value \u20181\u2019 is passed then it will round to the next nearest number.<\/p>\n<p>Kindly refer to the below screen shot.<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/07\/Roundup-Decimal-Number.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-9088\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/07\/Roundup-Decimal-Number.png\" alt=\"Roundup Decimal Number\" width=\"494\" height=\"171\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Hope this helps.<\/p>\n<h5 style=\"text-align: center\"><span style=\"color: #800080\"><strong>About Us<\/strong><\/span><\/h5>\n<p>&nbsp;<\/p>\n<p>Greytrix is one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.<\/p>\n<p><a href=\"http:\/\/www.greytrix.com\/\" target=\"_blank\">Greytrix<\/a>\u00a0have some unique solutions of\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-crm\/gumu-sage-x3-integration\" target=\"_blank\">Sage X3\u2019s integration with Sage CRM<\/a>,\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\" target=\"_blank\">Salesforce.com<\/a>\u00a0and\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/magento-sage-integrations\/sage-x3-magento\" target=\"_blank\">Magento eCommerce<\/a>. It also offers best-in-class\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\" target=\"_blank\">Sage X3 customization and development services<\/a>\u00a0to Sage business partners, end users, and Sage PSG worldwide.<\/p>\n<p>For more information on Sage X3 Integration and Services, please contact us at\u00a0<a href=\"mailto:x3@greytrix.com\" target=\"_blank\">x3@greytrix.com<\/a>\u00a0.We will be glad to assist you.<\/p>\n<p><strong><em>Other Related Blogs:<\/em><\/strong><\/p>\n<p>&#8211;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2014\/09\/23\/how-to-roundup-decimal-number-to-two-decimal-places\/\">How to roundup decimal number to two decimal places<\/a><\/p>\n<p>&#8211;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2015\/06\/30\/how-to-round-quantity-in-purchase-order\/\">How to round quantity in purchase order<\/a><\/p>\n<p>&#8211;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2015\/11\/27\/rounding-of-net-unit-price-in-purchase-order\/\">Rounding of net unit price in purchase order<\/a><\/p>\n<p>&#8211;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/01\/04\/rounding-off-net-unit-price-in-sales-order\/\">Rounding off Net Unit Price in Sales Order<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While dealing with arithmetic operations, you may want to roundup the calculation result to the next nearest number. Sage X3 has a special function to achieve this. ARR : rounds a number to the next nearest number. ARR ( exp_num1, exp_num2 ) Parameter details:\u00a0 exp_num1: Decimal number that will pass to \u201carr\u201d function. exp_num2: if\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/07\/29\/how-to-roundup-decimal-number-to-the-next-nearest-number\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[924,932,1706,1707,1941,1942,1943],"class_list":["post-9087","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","tag-greytrix-blogs","tag-greytrix-technical-blogs","tag-roundup-decimal-number","tag-roundup-decimal-number-to-next-number","tag-sage-x3-technical","tag-sage-x3-technical-assistance","tag-sage-x3-technical-blog"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/9087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=9087"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/9087\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=9087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=9087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=9087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}