Round(num, decimals);
num
decimals
This scripting function works for all numbers with a finite binary representation. The round half away from zero tie-breaking method is used. The scripting function returns the first argument (num) rounded to the number of decimals in the second argument (decimals). If the decimal is negative, the digits to the left of decimal separator are rounded. For example:$a=12.5567;$b=round($a,2);$b=12.56
OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |