Function Name:
Floor
Purpose:
The Floor function returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer. This function is useful for rounding down to the nearest whole number. Special cases:
- If the argument value is already equal to a mathematical integer, then the result is the same as the argument.
- If the argument is NaN or an infinity or positive zero or negative zero, then the result is the same as the argument.
The function should be connected to a node that passes a number value (integer/double) into it.
Configuration:
1. Enter a Display label for the node. This will be helpful with identifying the node when viewing your Entity Pipeline.
2. Enter a Description that will explain what the function is configured to do.
3. Add the input Value that needs to be processed by the function. This attribute is only available while configuring this function in an Entity Pipeline.
Examples:
- If the Input value is 1, the function will return the value, 1.
- If the Input value is 1.4, the function will return the value, 1.