Solved

Crystal Decimal Placement

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 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