Applies to Infiniti v8.0 or later |

Returns a positive (absolute) version of the number passed in as a parameter.

n The number to be converted to absolute.

Example:

Basic absolute value

Abs(-1)

Abs([q44])

Perform a subtraction between two numbers entered by the user in two separate Text Field questions (q1 and q2).

Abs([q1] – [q2])

The parameters passed in do the following:

[q1] References the Text Field question with ID 1. For the example we will assume this is 10. [q2] References the Text Field question with ID 2. For the example we will assume this is 100.

After references have been calculated our example will be resolved to ‘Abs(10 - 100)’, and the calculation engine will process the inner formula to yield ‘Abs(-90)’. Finally the Abs() function will return **90**, discarding the negative sign.

value math maths abs absolute

subtraction

Help Desk Software powered by SmarterTrack 12.5

© 2003-2018 SmarterTools Inc.

By using this site, you are accepting cookies to store user state and login information.