ROUND - connect_cdc_sqdata - Latest

Connect CDC (SQData) Apply engine

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
Language
English
Product name
Connect CDC (SQData)
Title
Connect CDC (SQData) Apply engine
Copyright
2024
First publish date
2000
Last edition
2024-07-30
Last publish date
2024-07-30T20:19:56.898694

The ROUND function performs rounding on a decimal number in accordance with a user specified precision.

Category

Mathematical

Syntax

ROUND(decimal_value, scale)

Parameters and Descriptions

Parameter Description
decimal_value A decimal number from a source datastore field/column, user specified numeric value, variable or the numeric result of another Function.
scale Specifies the precision (the number of digits right of the decimal point) to be returned with the result of the rounding operation.

Example 1

Round the source field INPUT_NUM, where INPUT_NUM is 12.3377 and return the results with a precision of 2. Map the result to target field ROUNDED_NUM

ROUNDED_NUM = ROUND (INPUT_NUM, 2)

Returns the value of 12.34 and maps it to the target field.

Example 2

Round the number 43.655423 and return the results with a precision of 3. Map the result to target field ROUNDED_NUM.

ROUNDED_NUM = ROUND (43.655823, 3)

Returns the value of 43.656 and maps it to the target field.