Relational expressions allow the user to compare variables and base changes and actions upon that information. The return type of such expressions is always boolean.

## <

Smaller than operator. Determines whether the first value is less than the second value. Result is of type Boolean.

### Input parameters

The values be any of the following types, but the two values should be in the same category (e.g. both numbers):

- String
- Numeric (Integer/Long, Decimal, Float)
- DateTime

```
4<3
```

returns:

```
False
```

## >

Bigger than operator. Determines whether the first value is greater than the second value. Result is of type Boolean.

### Input parameters

The values be any of the following types, but the two values should be in the same category (e.g. both numbers):

- String
- Numeric (Integer/Long, Decimal, Float)
- DateTime

```
4>3
```

returns:

```
True
```

## <=

Smaller than or equal operator. Determines whether the first value is less than or equal to the second value. Result is of type Boolean.

### Input parameters

The values be any of the following types, but the two values should be in the same category (e.g. both numbers):

- String
- Numeric (Integer/Long, Decimal, Float)
- DateTime

```
6<=3
```

returns:

```
False
```

and

```
3<=3
```

returns:

```
True
```

## >=

Bigger than or equal operator. Determines whether the first value is greater than or equal to the second.

### Input parameters

- String
- Numeric (Integer/Long, Decimal, Float)
- DateTime

```
4>=3
```

returns:

```
True
```

## =

Equality operator. Determines whether the two values are equal. Result is of type Boolean.

### Input parameters

- String
- Numeric (Integer/Long, Decimal, Float)
- DateTime
- Domain Entity. Equality is checked based on the ID of the object.

```
"mystring" = "myotherstring"
```

returns:

```
False
```

or with a DateTime:

```
dateTime(2007) = dateTime(2007)
```

returns:

```
True
```

## !=

Inequality operator. Determines whether the two values are not equal. Result is of type Boolean.

### Input parameters

- String
- Numeric (Integer/Long, Decimal, Float)
- DateTime
- Object. Equality is checked based on the ID of the object.

```
"mystring" != "mystring"
```

returns:

```
False
```