- Introduction to WorkXpress
- Building Your Application
- Examples and Best Practices
- Technical Manual
This shows you the differences between two versions of the page.
expression function - power [2016/09/14 18:19] |
expression function - power [2016/09/14 18:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Power (Expression Function) ====== | ||
+ | ===== Purpose ===== | ||
+ | The **Power** function (POWER) is used obtain the exponentiation of the base value by the exponent. | ||
+ | |||
+ | {{::power_initial.png?direct&600|}} | ||
+ | |||
+ | ===== Parameters ===== | ||
+ | The **Power** function has two required parameters: | ||
+ | |||
+ | ==== Base ==== | ||
+ | |||
+ | Allowed Inputs: [[Field|field]] value or number | ||
+ | |||
+ | The first required parameter is the number that represents the base of the exponentiation either use the use the [[Query Builder]] to choose a field that contains the value or use type a value to enter a number. | ||
+ | |||
+ | ==== Exponent ==== | ||
+ | |||
+ | Allowed Inputs: [[Field|field]] value or a number | ||
+ | |||
+ | The second required parameter of the **Power** function is the number that represents the exponent. Either use the query builder or the type a value option to enter a number. | ||
+ | |||
+ | |||
+ | ===== Output ===== | ||
+ | |||
+ | The output of the **Power** function is a number representing the exponentiation of the base value by the exponent. | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | For example POWER(2,8) would result in 256. |