Skip to content
hpgDesigns edited this page Aug 8, 2021 · 1 revision

Notation

Description

The floor of a number is that number rounded down to the nearest integer.

Parameters

  • x: the value to take the floor of

Return Values

The floor of x.

Example Call

one = floor(1.6); //returns 1
negtwo = floor(-1.2); //returns -2

NOTOC

Category:Function:Real

This is number 1

Clone this wiki locally