This function is used to round to a specified scale determined by argument b for Double value a.
Parameters
Return value
The return value is a Number.
Example
The return value of the following statement is 2.46.
Round(2.4576, 2)
This function returns the integer portion after a specified number has been rounded.
Parameter
a - A Double value.
Return value
The return value is an Integer.
Example
The return value of the following statement is 3.00.
Round(2.754)
This function is used to round to a specified scale determined by argument b and a specified rounding mode determined by argument c for Double value a.
Parameters
c is used to represent the following different seven rounding modes, which can be specified as an integer between 0 and 6.
Return Value
The return value is a Number.
Example
The return value of the following statement is 2.03.
Round(2.021, 2, 0)
This function is use to round to a specified scale determined by argument b using the rounding mode c.
Parameters
Return Value
The return value is a number.
Example
The return value of the following statement is 123.457.
Round(123.4567, 3, 'UP')