Most weapons of the same level and rarity have pretty identical attack stats (at least in shops anyway), but the actual damage they deal is drastically different. Example: a 100 attack hand cannon deals a lot more damage than a 100 attack auto rifle.
Is there a formula or way to tell how much damage I can actually expect to be dealing with this gun when it has that attack?