NXSL:floor

From NetXMS Wiki
Revision as of 02:00, 6 January 2013 by Victor (talk | contribs) (Created page with "__NOTOC__ Round down value. == Syntax == floor(''x''); == Parameters == :{| |- | ''x'' || Floating point value. |} == Return Value == The largest integral value not g...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Round down value.


Syntax

floor(x);


Parameters

x Floating point value.


Return Value

The largest integral value not greater than x.


Examples

floor(2.3)	->	2
floor(3.8)	->	3
floor(-2.3)	->	-3
floor(-3.8)	->	-4