
5.5.13.3. floor Function
floor Function
Returns the largest integer that is less than or equal to the specified number.
Syntax
double floor(double x)
Parameters
Parameter Type Description
x double Numeric value.
Returns
Returns the largest integer that is less than or equal to x.
Comments
None
Usage
NexScript
x = 1.7
y = floor(x)
% y now equals to 1
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 281
Komentáře k této Příručce