Which elemental weakness rating is used for a character, actor weakness or class weakness?

I've noticed there's an elemental guard setting in an actor's settings, as well as an elemental rate in the class settings. Looking at the help book, they both determine an attack's effectiveness on the actor, so... Which is preferred? Or do they stack, so if they have a 200% weakness in both their actor and class, does that make a 400% weakness?
If an actor has a class, the settings in the class take precedence over the settings in the actor.

This also applies to other things like stats.

Original thread: https://forums.rpgmakerweb.com/threads/which-elemental-weakness-rating-is-used-for-a-character-actor-weakness-or-class-weakness.155279/