Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Rounding Formula Issue (CR2008) Post Reply Post New Topic
Author Message
abeneventi
Newbie
Newbie


Joined: 17 Nov 2008
Online Status: Offline
Posts: 3
Quote abeneventi Replybullet Topic: Rounding Formula Issue (CR2008)
    Posted: 03 May 2010 at 9:48am
Hello, I'm facing this problem: I have a report with a lot of fields with Custom Style for Numbers Rounding (Format Field -> Numbers -> Customize -> Rounding). Both values for decimals and rounding are set to 1 but there is a formula specified for both:

if {TD.Zone}=0
then 0
else 2


When I export the report to PDF from a custom application there are no decimals and no roundings even if TD.Zone = 4. There should be 2 decimals and the rounding should be set to 2.

Let me explain better: I see a number like 120.00 instead of 120.14

It seems like the application is ignoring the formula for the roundings.

Anyone can help me?

Best regards.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 03 May 2010 at 12:03pm

does the report display correctly? 

If it is just on export to PDF...well, you really have no control over that, and I have no idea how to assist.
 
HTH
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.