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

Decimal Precision Problem 1

Status
Not open for further replies.

JCiesielski

Programmer
Jan 4, 2005
5
US
Im using Crystal v10.
I have a report that calculates a percentage based on 2 summary fields. The Formula is (1.09/25285)*100 and the result should be .004% Unfortunately, the report only shows 0.00000. I have tried allowing more decimal places, converting the numbers to doubles, and removing field clipping. If I change the 100 to 1000, it returns .04 so I know the rounding problem is at this formula. Is there any way to get a higher number precision?????

 
From the Design Canvas, right click on the formula->Format field. From the number tab, click on Customize and select 1.000 for your decimal. It's probably set to 1.00

Cheers,
-lw
 
Under format / customize set rounding to .001 and set decimals to 1.000

MrBill
 
What about (1.09*100)/25285? Or allow for more decimal places.

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Sorry about my late (and now irrelevant) reply. The two entries above it were not visible to me just a few minutes ago.

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top