Previous Topic

Book Contents

Book Index

Next Topic

round
  • Functionality

    This function can be called if you want to round a big decimal.

  • Arguments

    The first argument should be of type Big Decimal and second of type Integer.

  • Return

    A BigDecimal value that is rounded.

  • Conditions

    no condition

  • Examples

    round(12.555555,2) -->12.56

    round(12.49555,2) -->12.50

Note: If the number is ending with a 5, it gets rounded up.

See Also

Available Functions

cast

countService

countService2

currencyConversion

cmp

dayOfMonth

ge (greater or equals than), ge_

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

size

substring

sum

trim

trimRight

replaceFromEnd

unit conversion

translate

valueset

year