Author: Jerry Foote
Posted: 2011-08-20 at 10:11:40
Thanks for the input.
Jerry
-----Original Message-----
From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf
Of Gérard Lochon
Sent: Saturday, August 20, 2011 8:10 AM
To: ProFox Email List
Subject: Re: Formula to Round to Closest Half Dollar
> Jerry
> How about
> x= IIF(x+.5> INT(x),INT(x+.5),INT(x))
> Jack
>
if x > 0, x >= INT(x)
=> x+.5 >= INT(x)
So IIF(x+.5> INT(x),INT(x+.5),INT(x)) will always return INT(x+.5) !!
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/52FFC662885A44CEBE8C647FD69CC9AB@jerryfootePC
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.