Solved

Crystal Report surpress decimal

Posted on 2014-12-11
2
245 Views
Last Modified: 2014-12-11
Hello,

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

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

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

Thanks,
Joel
0
Comment
Question by:Genius123
2 Comments
 
LVL 22

Accepted Solution

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

Author Closing Comment

by:Genius123
ID: 40495181
Thanks Ido!
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

832 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