Solved

Crystal Decimal Placement

Posted on 2012-04-05
4
288 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 100

Assisted Solution

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

{@YourFormula} / 100

mlmcc
0
 
LVL 34

Accepted Solution

by:
James0628 earned 250 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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. …
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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