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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rounding Up 1

Status
Not open for further replies.

craigmk

Programmer
Nov 20, 2000
11
US
How do I round a number up in Crystal Reports? For example, I would like to round 10.2 up to 11. The round function doesn't work because it rounds the number to the nearest whole number.

Thanks
 
Add .499999999 to the number and then round the result. If 1.00000 it will remain, but if 1.000001 or above it will round up. Ken Hamady
Crystal Reports Training and a
Quick Reference Guide to VB/Crystal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top