Margin Addon Instead of Markup Addon

SOLVED

Is there any way to setup an addon for it to be a 'percent of total' 

Context:

I want to be able to add a margin instead of a markup. So i'd like my profit to be 10% of my total instead of adding 10% to the current total.