Skip to main content
Skip table of contents

Abs

Description

The Abs function calculates the value of a business figure as the absolute value of another value. This value itself can be the value of another business figure.

Using this Function

Syntax

In the Control File, the Abs function is called up as follows:

CODE
[account] = abs(value)
[account] = abs([referenceAccount]) 

Parameters

[account]

Business figure for which the value should be calculated.
This must be contained in the following input data: Input Files | Financial-Data

value

Denotes a value from which the absolute value is to be calculated.

[referenceAccount]

Denotes a business figure from the value of which the absolute value is to be calculated.
This must be contained in the following input data: Input Files | Financial-Data

Examples

Example 1

CODE
[100] = abs(-5000)
  • new value of the business figure [100]: 5,000.00

Example 2

CODE
[100] = abs([200])
  • value of the business figure [200]: -3,000.00

  • new value of the business figure [100]: 3,000.00

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.