Thanks for the code, it would have taken me hours if ever. Thanks Jerry -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul Hill Sent: Friday, August 19, 2011 9:59 AM To: ProFox Email List Subject: Re: Formula to Round to Closest Half Dollar
Hi Jerry, Try something like this: FLOOR(3.45/0.5)*0.5 3.0 FLOOR(3.62/0.5)*0.5 3.5 Paul On Fri, Aug 19, 2011 at 3:43 PM, Jerry Foote <[email protected]> wrote: > What is vfp formula to Round amount to Closest Half Dollar. > > Example to round 3.62 to 3.50 > > Or 3.45 to 3.00 > > Always to the floor of the decimal part to .50 > > Just brain stressed to figure the best way. > > > > Thanks Jerry > > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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/F30A3CBB99004E85B5662F90A80138DB@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.

