Round (Decimal)

Name

Round (Decimal)

Syntax

Round (Decimal number)

Purpose

To round a given number

Description

Rounds a decimal to number to the nearest integer value.

Return Type

Integer

Parameters

number [System.Decimal] – Number for which the rounded value will be returned

Example

In this example, we are passing a decimal value to the function transformation object using a Variables object.

Where,

number = 12.345

In the Data Preview window, you can see that the rounded value, 12, has been generated.

Last updated

© Copyright 2023, Astera Software