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

Zero Supress

Hi,

In one of the script form layouts i need to print the multiplication of two values. as follows.

Expected : 3 * 100,00 = 300,00

But it is coming as

3 * 100,00 = 300.000,00

How to print the nuber as expected in the form.

Quick help in the reg is much appreciated.

Thanks in advance.

Ramesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2005 at 06:29 AM

    Hello Ramesh,

    Are you getting it as 300.000,00 or as 30.000,00

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Anand,

      In this i have to calculate two values.. one is of Quantity and the other one is Price.

      The actual values are while debugging i found them as

      3.000(Qty) * 100.00(Currency) and it is givin and output of 300.000,00 where as the required output is 300,00.

      Thanks & Regards,

      Ramesh.

  • Posted on Feb 17, 2005 at 08:40 AM

    Hi Ramesh,

    this behavior might be the result of a missing report attribute: 'fixed point arithmetic'.

    Probably you can't change this flag in your case, but that would be at least an explanation.

    Work around: depending on dictionary definitions (quantity with 3 decimals) you have to divide accordingly ( / 1000 ).

    Regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ramesh,

      I agree totally with Shehryar. By default all new threads are marked as questions. Seems like you have unchecked the option inspite of seeking a solution for your problem. Why is that so ?

      Regards,

      Anand Mandalika.

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.