<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — function round2 on FA]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8027</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8027&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in function round2 on FA.]]></description>
		<lastBuildDate>Fri, 01 Mar 2019 16:40:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: function round2 on FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34381#p34381</link>
			<description><![CDATA[<p>I understood ternary operator, but if format_number() or round() of php resolve that, ¿Why use it? and the other question ¿Why total amount of gl_trans is not 0?, my grand total is 0.0000000005820766091346741.</p>]]></description>
			<author><![CDATA[null@example.com (cleal)]]></author>
			<pubDate>Fri, 01 Mar 2019 16:40:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34381#p34381</guid>
		</item>
		<item>
			<title><![CDATA[Re: function round2 on FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34375#p34375</link>
			<description><![CDATA[<p>The round2 function helps to setup our decimal precision for amounts and prices.&nbsp; So, here they are using to calculate the allowed rounding value with a limit of decimal points.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 01 Mar 2019 05:30:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34375#p34375</guid>
		</item>
		<item>
			<title><![CDATA[Re: function round2 on FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34373#p34373</link>
			<description><![CDATA[<p>That is the <a href="https://www.abeautifulsite.net/how-to-use-the-php-ternary-operator">php ternary operator</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 01 Mar 2019 05:14:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34373#p34373</guid>
		</item>
		<item>
			<title><![CDATA[function round2 on FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34369#p34369</link>
			<description><![CDATA[<p>Hi there,</p><p>FA have a function round2(), that function include this line &quot;$delta = ($number &lt; 0 ? -.0000000001 : .0000000001);&quot;What is the function of that?</p><p>When I have to calculate grand total on gl_trans, my total is some like that this, 0.0000000005820766091346741.&nbsp; ¿Why is not 0?</p><p>Thank you for your help...</p>]]></description>
			<author><![CDATA[null@example.com (cleal)]]></author>
			<pubDate>Thu, 28 Feb 2019 18:12:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34369#p34369</guid>
		</item>
	</channel>
</rss>
