Round

This Flow Script tutorial explains how to use the Round function with syntax and examples.

Description

The Round function returns the value of x rounded to the nearest integer.

Syntax

‌The syntax for the Round function is:

Round(x)

Parameters

x - the value to be rounded.

Returns

‌The Round function returns an integer.

Example

Let's look at some Round function examples and explore how to use the Round function.‌

Round(1.8)
Result: 2

Round(1.5)
Result: 2

Round(2.5)
Result: 2

Last updated