Summary
Returns the largest whole number less than or equal to the specified
number.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- MathFunctions
Syntax
[Function("floor")]
public static double Floor(double value)
Attributes
| Type | Description |
|---|---|
| FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | value to be , can be anything convertible to a double |
Return Value
| Type | Description |
|---|---|
| double | The largest whole number less than or equal to the specified number. |
