Percent Fix

The percent function wasn’t calculating properly because i didn’t set
triggers properly on the calculation function.