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

HOWTO: Control SAP Rounding of Decimal Places, More precision needed (:

Hi all,

A problem that many already had I suppose. I have a matrix that once a value such as 3.23432 is enter SAP would round it to 3 decimal places, like this 3.234.

The problem with this that when it comes to make computations the rounding is causing errors. I need the precision of 6, that is the maximum. I thought it was the string part , but if I call the .Value property I obtain the same value.

I can't go to the administration part of SAP since when my add-on installs I can't ask the user to set a higher precision or else my add-on would control that part for the rest of the program.

How can I solve this ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 08:05 PM

    I have partially solved the problem. I changed the underlaying UserDataSource to dt_MEASURE data type and it is giving me better results.

    Still, on larger amounts it's still giving me rounding errors due to the lack of precision. Measure is precision 5. There's suppose to be a precision for 6 decimals, but apparently it is not available for UserDataSources.

    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.