Crystal Report surpress decimal

Posted on 2014-12-11
Last Modified: 2014-12-11

I have a formula field in Crystal that looks like this:

if {#TotalLateWeek} <> 0 then
Round ((({#TotalLateWeek}/{#TotalCyclesWeek})*100),0 ) & "% Late"
"0% Late"

The result might be 10.00%.  I just want it to say 10%.

Question by:Genius123
LVL 22

Accepted Solution

Ido Millet earned 500 total points
ID: 40495121
if {#TotalLateWeek} <> 0 then
ToText(Round ((({#TotalLateWeek}/{#TotalCyclesWeek})*100),0 ),0) & "% Late"
"0% Late"

Author Closing Comment

ID: 40495181
Thanks Ido!

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now