Jerry
How about
x= IIF(x+.5> INT(x),INT(x+.5),INT(x))
Jack

Jack Skelley
Senior Director, Programming/Computer Operations
New Jersey Devils
(973)757-6164
[email protected] ________________________________________
From: [email protected] [[email protected]] on behalf of 
Jerry Foote [[email protected]]
Sent: Friday, August 19, 2011 10:43 AM
To: [email protected]
Subject: Formula to Round to Closest Half Dollar

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/7d9e7f72b813014c8fd022cf04f820ed084...@ex08.drdad.thenewarkarena.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.

Reply via email to