floor function

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

  • float floor(float x)

Returns

The rounded integer value. If x is integral, x is returned.

Description

The floor function rounds x down to the nearest integer.

Related


In this topic