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

How to round the value UP 1

Status
Not open for further replies.

OLTU

Technical User
Feb 14, 2005
39
NL
Hi ,

Using version crystal 8.5.

Need help to round up the values like below,

0.2 should be 1
0.5 should be 1
0.8 should be 1
1.1 should be 2
1.9 should be 2
2.1 should be 3 etc.

thx

 
Can't remember what functions are available in v8.5.

Do you have:

RoundUp({mytable.myvalue})

Ceiling({mytable.myvalue}) (for +ve nos)

If not then fix({mytable.myvalue}+ 0.999) (for +ve nos)
 
Ibass,

What dou you exactly mean with
-int(-{table.amt})?

I want to roundup my @formula records.

Thx
 
Create a formula:

-int(-{@yourformula})

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top