Script functions reference > Script functions in alphabetical order > R > Round

Round
Syntax
Round(num, decimals);
num
decimals
Description
Returns the first argument rounded to the number of decimals specified in the second argument.
Note:
Returns
A number.
Example
$a=12.5567;
$b=round($a,2);
 
Result:
$b=12.56
OpenText StreamServe 5.6 Updated: 2013-03-01