Author: Paul Hill
Posted: 2011-08-19 at 10:58:54
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 <jerryfoote@bellsouth.net> 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: 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/CADwx0+JxHkqBi0VWVrrC0KrWvS+-ZGoiCWaX_bRvAWv479_pQw@mail.gmail.com
** 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.