Skip to Content
author's profile photo Former Member
Former Member

How to dispaly percentage %

Hi

I calculated percentage. but it is showing data like 49, but i want to dispaly data like 49%. how to append % symbol with data?

give me a sloution.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 07:43 AM

    Morning Swetha,

    There are two ways of doing this,

    1: You can use the format field option, right click on the row (percentage) and click on Format Field. Click on Number tab, and choose Custom and set up a % symbol under currency symbol tab.

    2: You can use a formula to calculate your percentage and then with that you can setup a text value, like this

    Whileprintingrecords;
    Numbervar h:=Currentfieldvalue;
    Numbervar g:={@TotalJobs-CancelledJobs};
    Numbervar b:=0;
    b:=((h/g)*100);
    Numbervar gTot:=gTot+b;
    totext(gTot,2) + "%";
    

    The above formula is used in my report, you have to edit it according to your needs. Saying that, the concept is the same.

    Hope this helps

    Regards

    Jehanzeb

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 07:51 AM

    Hi

    thanks, My problem is solved.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.