© Copyright 2023, Astera Software
Name
Round (Real)
Syntax
Round (Real number)
Purpose
To round a given number
Description
Rounds a real number to the nearest integer value.
Return Type
Integer
Parameters
number [System.Double] – Number for which the rounded value will be returned
Example
In this example, we are passing a real value to the function transformation object using a Variables object.
Where,
number = -12.3456
In the Data Preview window, you can see that the specified real value has been rounded to its nearest integer value i.e., -12.