Altova MapForce 2024 Basic Edition

Rounds the input value to N decimal places, where N is the decimals argument.

mf-func-round-precision

 

Languages

Built-in, C++, C#, Java.

 

Parameters

Argument

Description

value

Mandatory parameter. Provides the function's input value.

decimals

Mandatory parameter. Specifies the number of decimals to round to.

 

Example

Rounding the value 2.777777 to 2 decimals yields 2.78. Rounding the value 0.1234 to 3 decimals yields 0.123.

© 2017-2023 Altova GmbH