cancel
Showing results for 
Search instead for 
Did you mean: 

Use the power function in SDK SAP C4C (Raise a value to a power)

Former Member
0 Kudos

Hi experts,

I would like to know how to use the power function in SAP C4C.

I have read the SAP Cloud Application Studio 1708 (7.2.4.4 Arithmetic Expressions Business Logic), but does not contain information about power function.

In ABSL does not exist the following sentences:

a ^ b

power(a, b)

a ** b

Please help me to find the correct sintaxis.

Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi everyone,

I have the same question about this case. Could you solve the problem?

rafaelht3108
Participant
0 Kudos

a ^ b where a = 10 and b = 2

10 * 10 = 100

a ^ b where a = 5 and b = 3

5 * 5 * 5 = 125

a ^ b where a = 2 and b = 32

2 * 2 * 2... * 2 = 4294967296

you could use "while"