Round step

Introduction

This step rounds a numerical value to a specific number of decimal places, using various rounding modes.

Configuration

  1. Value: Enter the number to be rounded. This is a required field.

  2. Mode: Choose the rounding mode. Each mode has a specific behavior:

    • Up: Rounds away from zero.

    • Down: Rounds towards zero.

    • Ceiling: Rounds towards positive infinity.

    • Floor: Rounds towards negative infinity.

    • Half up: Rounds towards the nearest neighbor, rounding up if tied.

    • Half down: Rounds towards the nearest neighbor, rounding down if tied.

    • Half even: Rounds towards the nearest neighbor, rounding to the nearest even number if tied. This is a required field.

  3. Decimals: Set the number of decimal places for the rounding. Defaults to 2, with a range of 0 to 20.

Outputs

  • Result: The outcome of the rounding process.

Usage

Ideal for calculations that require rounding, such as formatting numerical results.

Last updated