2 order of precedence, 3 predefined constants, 4 predefined time constants – Campbell Scientific LoggerNet Datalogger Support Software User Manual
Page 183: Order of precedence -47, Predefined constants -47, Predefined time constants -47

Section 5. Real-Time Tools
5.2.1.4.2 Order of Precedence
When processing mathematical expressions, the order of precedence is:
•
Anything inside parentheses ( )
•
Exponentiation ^
•
Negation (unary) –
•
Multiplication *, division /
•
Modulo (remainder) MOD
•
Addition +, subtraction –
When consecutive operators have the same priority, the expression evaluates
from left to right. This means that an expression such as a-b-c is evaluated as
(a-b)-c.
5.2.1.4.3 Predefined Constants
Constant Description
e
2.718282
PI
3.141593
True
–1
False
0
NOPLOT NAN
NAN
NAN (not a number)
INF
INF (non-finite number)
5.2.1.4.4 Predefined Time Constants
These predefined time constants can be useful as a parameter for the Functions
with State, where the interval parameter must be specified in nanoseconds.
Constant
Description
nsecPerUSec
Number of nanoseconds in a microsecond
nsecPerMSec
Number of nanoseconds in a millisecond
nsecPerSec
Number of nanoseconds in a second
nsecPerMin
Number of nanoseconds in a minute
nsecPerHour
Number of nanoseconds in an hour
5-47