<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What is the formula to average two fields then round up?</title><link>https://sugarclub.sugarcrm.com/explore/help-forums/enterprise-professional/f/enterprise-professional-questions/5910/what-is-the-formula-to-average-two-fields-then-round-up</link><description>Hi All 
 I have two field in a product Min value and Max value. 
 I have the formula: 
 average($minimum_range_c,$maximum_range_c) 
 The Min amount is 376 and the max is 431 which works out as 403.5 but I need it to be 404 after rounding up. 
 I want</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: What is the formula to average two fields then round up?</title><link>https://sugarclub.sugarcrm.com/thread/27334?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 07:44:13 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:d463ea71-721f-4b7b-8436-8805940405b4</guid><dc:creator>Jaymie Raymond</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much for your answer, ended up using the formula which worked perfectly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the formula to average two fields then round up?</title><link>https://sugarclub.sugarcrm.com/thread/27333?ContentTypeID=1</link><pubDate>Sat, 01 Oct 2022 10:29:47 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:3e695b2d-2513-4920-86d5-dea1b92e0d13</guid><dc:creator>Bj&amp;#246;rn Canales Pfisterer</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/jaymieraymond330325"&gt;Jaymie Raymond&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;does it work if you set the precision of the field to &amp;quot;0&amp;quot;? (the field might have the type decimal to get this propperty)&lt;/p&gt;
&lt;p&gt;this should round accordingly&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/42/pastedimage1664620188509v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Edit:&lt;/p&gt;
&lt;p&gt;if you want to use a formula instead it is&lt;/p&gt;
&lt;p&gt;&lt;em&gt;round(average($minimum_range_c,$maximum_range_c),0)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Bests&lt;/p&gt;
&lt;p&gt;Bj&amp;ouml;rn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>