Skip to main content

Divide By

Syntax

Field source_field
Divide
Divide By value
Field result_field

Parameters

  • value: A fixed numeric divisor applied with Divide By.

Description

Divide By divides a field by a fixed value as part of field arithmetic, in the same family as Divide / Sum.

Remarks

  • Blank fields are treated as zero.
  • Division by zero produces a blank result.
  • Typical pattern: name the source Field, issue Divide / Divide By, then name the result Field that receives the scaled value.
  • An event-level divide_by path also exists for scaling event times on output; the PDF field pipeline above is the usual listing usage.

Examples

Divide a field by a fixed value and store the result:

Field DISTANCE
Divide
Divide By 2
Field HALF DIST