# ne operator

The ne operator selects items whose
specified attribute name contains a value not equal to the specified
value string.

**Synonyms:** #

## Syntax

```
with attr.name ne "valuestring"
```

## Example(s)

```
select invoices with amount.due ne "0"
```

```
select invoices with amount.due # "0"
```

 Note: When using an ADI with an mt processing code, a null value is converted
 to zero before testing for equality or inequality. Therefore, ADI = “” will find nothing and ADI
 # “” will return everything. This only affects “equal” or “not equal”. “Less than or equal”,
 “Greater than or equal” and others are not affected.

## See also

- [not operator](https://d3codex.com/access/not-operator/)

---
Source: https://d3codex.com/access/ne-operator/ - part of the D3Codex reference.
