INPUT /  OUTPUT /  LANGUAGE





int tag

Transient logic tag

Converts one or more values to whole numbers.

Sample usage

Fields

Primary field

Vector field

A list of zero or more values to convert.

Secondary fields

None.

Behaviour

Generates each value in the primary field as a whole number, discarding any fractional part. Numbers are truncated towards zero, not rounded.

Notes

To round to the nearest whole number instead, add 0.5 first: <int | add x, 0.5> (for positive numbers).

See also