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, issueDivide/Divide By, then name the resultFieldthat receives the scaled value. - An event-level
divide_bypath 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