<?xml version="1.0" encoding="ASCII"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: When Up is Down (rounding negative numbers)</title>
	<atom:link href="http://kenhamady.com/cru/archives/19/feed" rel="self" type="application/rss+xml" />
	<link>http://kenhamady.com/cru/archives/19</link>
	<description>Independent news, tips and thoughts from a Crystal Reports expert</description>
	<pubDate>Wed, 07 Jan 2009 03:18:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: lbass</title>
		<link>http://kenhamady.com/cru/archives/19/comment-page-1#comment-3</link>
		<dc:creator>lbass</dc:creator>
		<pubDate>Mon, 18 Sep 2006 22:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://kenhamady.com/cru/archives/19#comment-3</guid>
		<description>I think the following formula will do the same thing:

-int(-{table.number})

Or to round to the nearest 100:

-int(-{table.number}/100)*100

Similarly, round down would be:

int({table.number})

Or to round down to the nearest 100:

int({table.number}/100)*100

I picked this up from lyanch in Tek-Tips some years ago--thread766-562172.</description>
		<content:encoded><![CDATA[<p>I think the following formula will do the same thing:</p>
<p>-int(-{table.number})</p>
<p>Or to round to the nearest 100:</p>
<p>-int(-{table.number}/100)*100</p>
<p>Similarly, round down would be:</p>
<p>int({table.number})</p>
<p>Or to round down to the nearest 100:</p>
<p>int({table.number}/100)*100</p>
<p>I picked this up from lyanch in Tek-Tips some years ago&#8211;thread766-562172.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
