Calculations in numerical fields

Instead of a value, you can enter a calculation in a field. Profit saves the calculated value. This allows you to perform simple calculations without the need for a separate spreadsheet.

You can do this in the Profit numeric fields, both in properties windows and in entry layouts.

The maximum length of a calculation is 30 positions. You can combine multiple operators. Calculations are performed in this sequence:

  • Calculations between brackets are performed first.
  • Exponents and square roots
  • Multiplication and division
  • Addition and subtraction

To perform a calculation in a numerical field:

  1. Go to: a numeric field, such as in an entry layout or a wizard.
  2. Enter a simple calculation using an operator and numbers.

  3. Press = to retrieve the answer to the calculation.

    Profit will show the answer to the calculation in the field.

  4. If you want to change the calculation, press Backspace. The answer disappears and the formula you entered is displayed again.
  5. Press: Enter.

    Profit displays the answer. Because you have exited the calculation by pressing Enter, you can't retrieve it anymore.

Below are the operators you can use.

Operator

Explanation

Example

+

Add

2+4

-

Subtract

3-6

*

Multiply

6.5*54.24

/

Divide

4/7

^

Raise to the power of

18^3

(   )

Calculate first

(8+4)/3

Profit first calculates the section between parentheses, in this case 8+4=12.

Followed by the rest of the calculation: 12/3 = 4.

Directly to

  1. Add, change and delete data
  2. Add data using a wizard
  3. Change properties
  4. Delete data
  5. Block data
  6. Entry window
  7. Perform calculations in numerical fields
  8. Preferred values ​​for properties and wizards
  9. Enter a duration in a field
  10. environment settings