Designing and Implementing Business Process Models 10.4 | Designing and Implementing Business Process Models | Business Rules Reference | Functions | Summary of Math Functions | double round(double val, int scale)
 
double round(double val, int scale)
Rounds the given value to the specified number of decimal places. The value is rounded using the BigDecimal.ROUND_HALF_UP method (rounding mode to round towards "nearest neighbor" unless both neighbors are equidistant, in which case round up).
Input Parameters
val
Integer The value to round.
scale
Integer The number of digits to the right of the decimal point.
Return Value
Integer The rounded value.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release