Previous Topic

Book Contents

Book Index

Next Topic

ge (greater or equals than), ge_

Function: ge

  • Functionality

    Compares two objects to check if object1 is equal or greater than object2.

  • Arguments

    ge(Object aObject1,Object aObject2)

  • Return

    A Boolean value.

Function 'ge' is not well suited for handling null values. If any or both arguments are null, the function returns a null value. Possible related problems can be circumvented by using the 'ge_' function instead.

Function: ge_

  • Functionality

    The function compares two objects to check if object1 is equal or greater than object2.

    It also handles null arguments, a null argument is considered as the smallest value of all.

    • ge_(notnull, null) => True
    • ge_(null, notnull) => False
    • ge_(null, null) => True
  • Arguments

    ge_(Object object1,Object object2)

  • Return

    A Boolean value.

     

Example:

ge_(totalprice, grossprice)

is equivalent to

or(and(isNull(totalprice), isNull(grossprice)), isNull(grossprice), ge(totalprice, grossprice))

See Also

Available Functions

cast

countService

countService2

currencyConversion

cmp

dayOfMonth

gt (greater than), gt_

le (less or equals than), le_

lt (less than), lt_

eq (equals), eq_ and cmp

ne_

evalCondition

evalExpression

pyeval

not

isNull

Null

getAttributeTranslation

getAuditedBOTranslation

getAuditedValueRelation

getBOTypeTranslation

getCurrentDate

getCurrentTime

getCurrentTimeStamp

getCurrentUserld

getMaximalTimeStamp

getMaximalDate

getParameter

getPicture()

getValuesetTranslation

if, case and coalesce

trimLeft

isValid

max

min

month

round

size

substring

sum

trim

trimRight

replaceFromEnd

unit conversion

translate

valueset

year