floor

Round a number down to the nearest integer.

Syntax

y = floor[value]

Attributes

  • value - a set of numbers

Description

y = floor[value] rounds the elements of value down to the nearest integers.

Examples

Calculate the floor of 34.2

search
  y = floor[value: 34.2]

bind @browser
  [#div text: y]

The result is 34.

See Also

ceil | fix | round