Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal Decimal Placement

Posted on 2012-04-05
4
Medium Priority
?
294 Views
Last Modified: 2012-05-10
I have a formula field that returns a number 3.25.  I want it to return .0325 so I can multiple it as a percent.
0
Comment
Question by:evend
4 Comments
 
LVL 101

Assisted Solution

by:mlmcc
mlmcc earned 1000 total points
ID: 37814705
Just use

{@YourFormula} / 100

mlmcc
0
 
LVL 35

Accepted Solution

by:
James0628 earned 1000 total points
ID: 37815219
I'm not sure what you're trying to do.

 If you have a formula that produces a value and you just want to use that value as a % in another formula, then, as mlmcc said, just divide by 100 in the other formula.  If you want to round the result before you use it as a %, you can use Round/Int/Trunc to do that in the other formula too.

 If the first formula is on the report and you want to change how the value is shown, change that formula to divide its result by 100, which will also take care of the second formula.

 If you were thinking of changing the number of decimals shown in the field format as a way of changing the formula result to a %, that won't work.  The field format only affects how the value is displayed.  The value itself is not changed.

 James
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

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 video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

916 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