I suppose what you are looking for is the "Binner" processor in a preparation recipe, it allows you to group numerical values into fixed-size intervals or fully specified intervals.
If this does not exatcly fit your needs you may combine it with a "Formula" step before in the preparation recipe.