DIM

 

The DIM function returns the actual value if the difference between x and y is positive and returns 0 if the difference between x and y is negative.

 

Format

 

Arguments definition

A real number or a function that returns a real number

A real number or a function that returns a real number

 

Formulation

 

Example

ex1)    Function : DIM(15,5)

Result : 10

ex2)    Function : DIM(5,10)

Result : 0