## Decision Analysis

### The Decision Analytic Advantage

### Here's why you should opt for a decision analytic approach

### The Decision Analytic Process

### Take a quick visual tour of a typical decision analytic process

### DPL Tutorial Videos

### Quickly learn DPL modeling basics via a series of six software video tutorials

### Decision Analytic Videos

### Learn about basic decision analytic tools and concepts via short, simple video tutorials using DPL

## Products

### Product Comparison

### Which version of DPL is right for you?

### What's New in DPL 9

### From game-changing analytics to modeling ease of use

### DPL Product Versions

### DPMX

### A decision analytic portfolio management system

### FREE DPL Pro Trial

### Get started with your FREE DPL Pro Trial today!

### FREE DPL Fault Tree Trial

### Get started with your FREE DPL Fault Tree Trial today!

### Order DPL Now

### Start making better decisions for your business today!

## Industries

### All Industry Examples

### View Real-world DPL Examples by Industry

### Customers

### See our list of satisfied customers by industry.

### Partners

### See a list of experienced consultants who use DPL

## Support

### Register DPL

### Get the latest support & product update information

### Downloads

### Knowledge Base

### Training

### Online, group & customized training on DPL

### Purchase Support

### Don't take unnecessary risks! Keep your DPL Support plan current.

## About Syncopation

### Company History

### Find out more about DPL software's history -- one that spans over 20 years

### Our People

### Meet the folks behind the DPL Software

### Opportunities

### Discover opportunities at Syncopation Software

# DPL 9 Help

# Logical Operators

- AND (&&) - the AND operator produces the number 1 if both of its operands do not equal 0. If either operand equals 0, it produces the number 0. If its first operand equals 0, it does not evaluate its second operand.
- OR ( || ) - the OR operator produces the number 0 if both of its operands equal 0. If either operand does not equal 0, it produces the number 1. If its first operand does not equal 0, it does not evaluate its second operand.
- NOT (!) - the NOT operator produces the number 1 if its operand equals 0 and the number 0 if its operand does not equal 0.

x != y && z / (x - y) <= 1 ? 0 : z

The expression equals 0 if z/(x-y) is less than or equal to 1. Otherwise it equals z. However, DPL would generate an error message if it tried to evaluate z/(x-y) when x equals y. This will never happen in the expression above. If x equals y, the first operand of the AND operator equals 0, and the operator returns 0 without evaluating its second operand.

* Versions:* DPL Professional, DPL Enterprise, DPL Portfolio

*See Also*