Comparing

Type of comparison

A variable's data type determines the type of comparison performed in a condition involving the variable. This is important because comparison semantics for numbers, strings and dates are very different.

Variable data type

Comparison semantics

Text

String

Alt Text

String

Text Indexed

String

Boolean

Boolean

Integer

Number

Rational

Number

Date

Date

Value used for comparison

When used in a condition, the variable's value is obtained in two steps:


See also: