Here is a simple sub patch that quantizes input values by a definable step value. If this is set to 1 the node will return the integer of any input value.
Might be useful :)
Might be useful :)