Round function

The Round function rounds a number to the closest integer.

Parameter: number

The number to be rounded. This can come from a source node, the result of another function, or a value you specify.

Returns: number

The closest integer to the parameter, rounding up if two integers are equally close. This can come from a source node, the result of another function, or a value you specify.

Example:
  • round(4.2) = 4
  • round(4.5) = 5



Feedback | Notices


Timestamp icon Last updated: Tuesday, 27 September 2016


https://www.ibm.com/support/knowledgecenter/en/SS3LC4_7.5.3/com.ibm.wci.doc/ref_Round.html