Silverfrost Logo About Us | Contact Us
 

DIM

Platform

x64, Win32, .NET

Purpose

To get the difference if positive, otherwise zero.

Class

Elemental function.

Syntax

INTEGER FUNCTION DIM(X,Y); INTEGER X,Y
REAL FUNCTION DIM(X,Y); REAL X,Y

Description

Both the result an Y have the same type and kind type as X.

Return value

X-Y if X>Y, otherwise zero.

 

 

Copyright © 1999-2017 Silverfrost Limited