The document presents a general method for parameter extraction in a two-compartment model used for neuronal modeling of whole-cell patch-clamp data. It describes how this new approach avoids the typical assumptions about parameter sizes and can be applied to various neurons exhibiting biexponential capacitance transient decay. Experimental data and computer simulations support the accuracy of the proposed method, which enhances the reliability of modeling without oversimplifying approximations.