Solved

# Crystal Decimal Placement

Posted on 2012-04-05
282 Views
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
Question by:evend

LVL 100

Assisted Solution

mlmcc earned 250 total points
ID: 37814705
Just use

{@YourFormula} / 100

mlmcc
0

LVL 34

Accepted Solution

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

### Suggested Solutions

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 …
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 video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.