I have a power pack that is 12v 3a, I want to buy an inline switch so it can be turned off without having to unplug it. The following image is of the inline switch. It is rated for 24v at 2amp. If my understanding is correct, I can just multiply the V by the A and as long as it's lower than rated it's all ok.
Inline Switch: 24v x 2a = 48 watts DC Power Pack: 12v x 3a = 36 watts So it's ok to use.
Is this correct? Or am I mistaken and the switch shouldn't be used with this power pack?