Click or drag to resize

Calc

A Calc performs an operation on one or two arguments and returs the result.

Example
                  <
                  Field Value="{Calc Arg1=3, Arg2={Binding Content.Amount, ElementId=Container1}, Operation=Add}" />
Parameters
  • Arg1 : float

    First argument to be used in the calculation.

  • Arg2 : float

    Second argument to be used in the calculation.

  • Operation : CalcOperation

    Operation that will be performed on the arguments. Unary operations are performed on the Arg1 parameter.

    Supported binary operations:

    • Add
    • Subtract
    • Multiply
    • Divide
    • Average
    • GreaterThan
    • GreaterThanOrEqual
    • Equals
    • LessThan
    • LessThanOrEqual
    • Power

    Supported unary operations:

    • Ceil
    • Floor
    • Round
    • Log
    • Log10
    • Sqrt