Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%Limit function


Function
The function returns the value defined by the parameter Value, if the value is within the interval defined by the parameters Min and Max.
Declaration


Blok kódu
languageesl
themeConfluence
REAL %Limit(
   REAL in Value, 
   REAL in Min, 
   REAL in Max
 )
Parameters


ValueValue.
MinMinimum value.
MaxMaximum value.
Description
The function returns a value as followingsfollows:
  • if Value Max - function returns the value defined by Max,
  • if Value Min - function returns the value defined by Min,
  • if Min < Value < Max - function returns the value defined by Value.