What kind of laptop charger do I need for my laptop - eviltoast

Dell G15 (5510)

On the Dell website it says has one option that says 240W (the one I was using is 180.0 W) is compatible with mine but for $140 I want to be 100%

Also my old one shocked the shit out of me because it was frayed and I had no idea so I want to be 1000% sure so I don’t get accidentally shocked again.