Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Currency roundoff

Status
Not open for further replies.

giyer555

Programmer
Sep 8, 2003
75
IN
Using VB 6 & sql 7 I need to round up currency having three decimal places to the nearest 50's
eg: 50.260 = 50.300
50.135 = 50.100
50.999 = 51.000
50.150 = 50.150
50.200 = 50.200
50.380 = 50.400
etc

Can anyone help please?
 
Try posting in a VB forum - this is VBA

Rgds, Geoff
[blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top