Skip to Content
Feb 24, 2014 at 11:39 AM

How to create a method with generic parameter?


Hi, I would like to know if it is possible to create a method that accepts an importing parameter with a generic data type, the scenario is I need my method to accept a parameter with any "NUMERIC" data type be it integers, floats , quantities but no character types so that the developer doesnt have to create intermediate variables when calling my method he could just pass the variable from his program and the casting happens inside my method, is this possible? and if it is then how ?.