The Non-Conventional energy sources play a key role in present power markets to meet the electrical energy demand on the grid. These solar modules are connected to the grid through converters for converting the DC to AC power. The quality of the power from these inverters should be good and hence it is required to limit the harmonics from these inverters as much as possible. This can be done with the help of current controller of inverter which controls the quality of the current supplied by the PV Inverter to the grid. One of the most commonly used current controllers is the PI controller. But due to presence of dynamics in the integral term, the PI control has steady-state error in following the sinusoidal reference. Another commonly used current controller is the Proportional Resonant (PR) controller. As most of the controllers are of digital type, the resonant controllers has zero and pole mapping during the conversion of continuous to discrete time domain and hence it is employed in discrete mode. In this work, the modified Tustin discretization and Euler discretization methods are implemented for current controller of the inverter and compared with each other with respect to total harmonic distortion (THD) of the current and voltage signal from the inverter. This work is designed and implemented in MATLAB/Simulink tool. © 2021, Springer Nature Singapore Pte Ltd.