B. Data Item Reference

Strings vs. Numbers


Even though some data items represent numbers, they are effectively processed as strings, within rules and templates. Explicit conversion with an appropriate Python expression is required in situations where such data items must be interpreted as numbers. For example, verifying whether it is before noon or not with int({server.time.hour}) < 12.