<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: If/then calculation with rounddown capability</title>
		<link>https://legacy.forums.gravityhelp.com/topic/ifthen-calculation-with-rounddown-capability</link>
		<description>Gravity Support Forums Topic: If/then calculation with rounddown capability</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 07:05:23 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/ifthen-calculation-with-rounddown-capability" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "If/then calculation with rounddown capability"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ifthen-calculation-with-rounddown-capability#post-322598</link>
			<pubDate>Fri, 14 Jun 2013 05:21:15 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">322598@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Handling via priority support.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Shaun on "If/then calculation with rounddown capability"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ifthen-calculation-with-rounddown-capability#post-316223</link>
			<pubDate>Mon, 10 Jun 2013 22:03:26 +0000</pubDate>
			<dc:creator>Shaun</dc:creator>
			<guid isPermaLink="false">316223@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a product order form (on localhost at the moment so I can't post a url.) The customer can pay in advance (PayPal or cheque) or buy on 2 weeks credit. If they pay in advance they get 2 free products for every 10 they order. If they buy on credit they get 1 free product for every 10 they order.&#60;/p&#62;
&#60;p&#62;I need the form to calculate and display how many free products they're getting. For example:&#60;br /&#62;
Order 27 on credit = 27 + 2 free&#60;br /&#62;
Order 27 paid in advance = 27 + 4 free&#60;/p&#62;
&#60;p&#62;Two key functions:&#60;br /&#62;
1. If (in advance/on credit) then ... (number) free&#60;br /&#62;
2. Must round down to nearest integer (at the moment 27 on credit would round up to 3 free - it should be 2 free)&#60;/p&#62;
&#60;p&#62;I have searched the forum and I can't find any examples where this is being done. Does anyone know how to do this - or a suggested workaround?&#60;/p&#62;
&#60;p&#62;If it is not possible with the out-of-the-box GF, can anyone suggest what kind of source/cost I could expect to get this custom coded?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
