Find Value Delta
0x484428507A212cA56D71baa27Ca6089a6dB63a88

What this does

This plug compares two supplied values and returns both which one is larger and the absolute gap between them. It asks the caller for value_1 and value_2 at execution time. It runs on demand, computing value_1 minus value_2 when value_1 is greater and value_2 minus value_1 otherwise. Computing this by hand or from stale inputs risks a delta drawn from the wrong pair of values.

Actions · 12

  • Compare two values
    Is
    Compares two values with a chosen operator and returns a boolean.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Predicate
    Steers control flow by comparing two values: branch, loop, or require the condition holds.
  • Calculate
    Calculate
    Applies a binary arithmetic operation to two values and returns the result.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • Else branch
    Else
    Opens the else branch of a conditional.
  • Calculate
    Calculate
    Applies a binary arithmetic operation to two values and returns the result.
  • Set
    Set to
    Assigns a value to a named variable that later steps reference.
  • End block
    End block
    Closes the innermost open block, whether a conditional branch or a loop.
  • Bubble
    Bubble
    Surfaces a value as an output of this plug.
  • Bubble
    Bubble
    Surfaces a value as an output of this plug.

Related plugs · 8