$floor

Rounds the number down and returns the largest integer less than or equal to a specified number.

Syntax

$floor[Number]

Parameters

  • Number (Type: Integer, Float || Flag: Required): The number that will be rounded.

Example

$nomention
Result: $floor[$message]
!example 6.2 Result: 6 !example -6.4 Result: -7 !example 9 Result: 9

What is this?

How $message works?

🤖 Playground

Here you can understand how this function works.

Input:

$floor[]

Output:

Result: 1