borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (sample crystal report(very urgent))Next Topic (Data Report rptImage?) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Rounding off
Poster Message
hitech_huzefa
Level: Scholar

Registered: 23-06-2005
Posts: 40

icon Rounding off

how to round off a amount  such as 1994.87 to 1995.00
and 1994.49 to 1994 in crystal report 8.5.

Please help

05-07-2005 at 04:04 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Rounding off

Right click on a field, select Format option. There you should have Number section, where you can customize its appereance. Use Round function for this purpose.

____________________________
If you find the answer helpful, please mark this topic as solved.

06-07-2005 at 12:07 PM
View Profile Send Email to User Show All Posts | Quote Reply
hitech_huzefa
Level: Scholar

Registered: 23-06-2005
Posts: 40
icon Re: Rounding off

No dear not that way! i mean i want to show the rounded off amount in the report itself e.g

G.total    1499.75
R/O +            .25
----------------------
               1500.00

or

G.total    1499.45
R/O -             .45
--------------------
              1499.00

07-07-2005 at 03:55 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Rounding off

You can create formulas in CR. SO it is quite easy:

R/O formula

G.total - Round(G.total)

and similarly for the result field

____________________________
If you find the answer helpful, please mark this topic as solved.

10-07-2005 at 05:31 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Rounding off
Previous Topic (sample crystal report(very urgent))Next Topic (Data Report rptImage?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder