Tips and Tricks for handling numbers in BPEL or OIC by Pranav Davar
October 29, 2021 Leave a comment
While integrating with multiple systems and moving data from one system to the other, we generally come across scenarios, wherein we need to change the format of the number or perform operations like floor, ceil, round, divide, multiply, add, etc. on numbers. We will be going through various mathematical functions available in XSLT 1.0, which would be helpful in such scenarios, and also some generic errors which we encounter usually.
1. Divide
2. Multiply
3. Add
4. Subtract
5. Square-root
6. Round
7. Floor
8. Ceil
Mathematical Operations
1. Divide
To divide 2 numbers, we can use the div operator to divide two numbers.
Syntax:
$num1 div $num2
Example:
Let us assume we want to divide 120 by 7. Read the complete article here.
For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.
Blog
Twitter
LinkedIn
Facebook
Wiki
Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress