IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

numericFormat with incorrect decimal point

  • 1.  numericFormat with incorrect decimal point

    Posted Tue September 05, 2023 06:01 PM

    Hello, we recently ran into an issue with IS version upgrade. We always use the numberFormat passing a value and expecting to receive the informed mask ##.## but after the update we started to receive something like ##,## due to the language configuration of the server at the time of the installation, the solution found was:

    Add to file:
    SoftwareAG\profiles\IS_default\configuration\wrapper.conf

    This:

    Java Additional Parameters

    .
    .
    .
    .
    warepper.java.aditional.10=-Duser.language=en
    warepper.java.aditional.11=-Duser.region=EN
    warepper.java.aditional.12=-Duser.country=US

    Windows service whith IS 10.11


    #Integration-Server-and-ESB
    #Service-Designer
    #webMethods


  • 2.  RE: numericFormat with incorrect decimal point

    Posted Tue February 13, 2024 02:23 AM

    Hi,

    Try it any of the steps.
    1-> When formatting numerical values with the correct decimal point, make use of built-in services like pub.math:formatNumber.
    2-> To format numerical values with particular decimal points, use Java’s DecimalFormat class. and create java service that will not affect the language barrier.


    #webMethods
    #Service-Designer
    #Integration-Server-and-ESB