IBM Support

JR47577: ABSTRACT: DECIMAL CONVERSION, LOSS OF PRECISION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • There are precision errors upon calling createFromXmlElement.
    For example:
    1.4 is converted to 1.399999976158142
    999999999.9 is converted to 1,000,000,000
    22441234567 is converted to 22441234432
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Applications using                          *
    *                  tw.system.createFromXmlElement() API.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Numeric values with decimal points      *
    *                      are not converted with precision.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When inserting content to a business object from an XML
    document, numeric values with decimal points are not properly
    inserted with the same decimal point precision.  The values
    may be rounded to a trailing decimal point value and the
    precision number of decimal points may vary.
    For example : The number "1.4" will be converted to
    "1.399999976158142"
    

Problem conclusion

  • Code changes have been made to properly convert the decimal
    values with precision and retain the number of decimal points
    specified.  An interim fix is available on v8.0.1.0.  The fix
    will also be integrated into the next fix pack.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR47577

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-20

  • Closed date

    2013-09-09

  • Last modified date

    2013-09-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 January 2022