For the complete documentation index, see llms.txt. This page is also available as Markdown.

Floor

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

Description

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

Syntax

‌The syntax for the Floor function is:

Floor(x)

Parameters

x - the value to be rounded.

Returns

‌The Floor function returns an integer.

Example

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

Floor(1.6)
Result: 1

Last updated

Was this helpful?