- 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 - absolute value [2016/09/14 18:19] |
expression function - absolute value [2016/09/14 18:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Absolute Value (Expression Function) ====== | ||
+ | ===== Purpose ===== | ||
+ | The **Absolute Value** function (ABS) is used obtain the absolute value of the number provided. | ||
+ | |||
+ | {{::abs_function_init.png?direct&600|}} | ||
+ | |||
+ | ===== Parameters ===== | ||
+ | The **ABS** function has one parameter: | ||
+ | |||
+ | ==== Input ==== | ||
+ | |||
+ | Allowed Inputs: [[Field|field]] value or a number | ||
+ | |||
+ | The only parameter of the **ABS** function is the value that the function should generate the absolute value for. Either use the query builder or the type a value option to enter a number. | ||
+ | |||
+ | |||
+ | ===== Output ===== | ||
+ | |||
+ | The output of the **ABS** function is the absolute value of the number provided. | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | For example ABS(1000) would result in 1000 and ABS(-1000) would result in 1000. |