This patch adds a very simple node that explicitly converts a float to an int. While this may seem redundant, it would offer 2 benefits to the current requirement to use implicit float conversions:
- It makes the node tree's intent more clear and self-documenting (especially if changes in the future require integer inputs for some nodes).
- It eliminates undefined behavior in current/future nodes from float inputs by guaranteeing that the input is an integer.
As per Jacques Lucke, the node now offers a variety of rounding techniques to make it more flexible. Documentation update is attached as a child diff.
