A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/Math/floor below:

floor ยท WebPlatform Docs

floor Summary

Returns the greatest integer less than or equal to its numeric argument.

Syntax
Math.floor( number )
Examples
Math.floor(1.1);  // 1
Math.floor(1.6);  // 1
Math.floor(-1.4); // -2
Remarks

The required number argument is a numeric expression.

The return value is an integer value equal to the greatest integer less than or equal to its numeric argument.

Applies To : Math Object

See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4