Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Using Number function to increment a Number to 1 Million fails in OIC Mapper

Summary:

We have a requirement where Incrementing a Number beyond 1 Million makes a number be represented in Scientific Notation/Exponential format and not as a number

XSL:

  1. number (/nssrcmpr:execute/nssrcdfl:request-wrapper/nssrcdfl:SequenceNumber ) + 1
  2. number ((number (/nssrcmpr:execute/nssrcdfl:request-wrapper/nssrcdfl:SequenceNumber ) + number (1 )))

Test Cases:

Case 1: Input Value of Sequence Number is 999998

Output Sequence Number is 999999

Case 2: Input Value of Sequence Number is 999999

Output Sequence Number is 1.0E6

Could anyone point if this is an expected Behavior or oblige if I am missing the obvious.

Content (required):


Version (include the version you are using, if applicable):

22.2.3

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!