Solved

Crystal Report surpress decimal

Posted on 2014-12-11
2
218 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

13 Experts available now in Live!

Get 1:1 Help Now