B2B Integration

 View Only
  • 1.  Round values in ext. Rules

    Posted Mon September 23, 2024 05:03 PM
    Hi all
    We are using the IBM Sterling B2B Integrator Map Editor version 8.0.3.0
     
    I am looking for a solution for an extended rule in a map, how I can round numerical values with decimal places. (e.g. round up, round down, round half up, round half down, etc.)
     
    Is there a command for this, or with Java commands? If yes, can anybody give me an example of a code, that can be copied into an extended rule?
     
    Thank you and best regards, For a direct contact: info@procopt.ch 
     


    ------------------------------
    Ruedi Burkhalter
    ------------------------------


  • 2.  RE: Round values in ext. Rules

    Posted Thu September 26, 2024 08:49 AM

    Hi Ruedi,

    Here are the command that can be used in Extended Rules (no rounding that you requires):

    Alphabetical Language Reference - IBM Documentation

    Please check these links for java:

    World of Integration
    World of Integration

    Kind regards,
    Mirjana



    ------------------------------
    Mirjana Vojvodic
    ------------------------------



  • 3.  RE: Round values in ext. Rules

    Posted Wed October 02, 2024 07:25 AM

    Thank you Mirjana. The second link (https://www.worldofintegration.com/smfforum/index.php?topic=2353.0) gave me the right solution. Now it works fine. Best Regards. Ruedi



    ------------------------------
    Ruedi Burkhalter
    ------------------------------