![]() |
|
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
Numeric expressions |
|||||
Numeric expressions can be used:
In OmniMark, a numeric expression is an integer value between -2,147,483,647 and 2,147,483,647.
The simplest forms of a numeric expression are:
+") or minus ("-") sign followed by a sequence of digits.
integer item.
Because any string expression can be used as a numeric value, saved pattern text, attribute values, and even element content can be used as a numeric value, provided that the contents form a valid number.
Numbers with a radix other than 10 must be expressed as a string expression, and can be converted to a numeric expression using the operator base.
Types of numeric operators are: