perform a calculation using exponent
Gravity Form Calculation For Exponent
gform.addFilter('gform_calculation_result', function( result, formulaField, formId, calcObj ) {
if ( formId == '85' && formulaField.field_id == '3' ) {
var exponent = calcObj.replaceFieldTags( formId, '{:2}', formulaField ),
num = calcObj.replaceFieldTags( formId, '{:1}', formulaField );
result = Math.pow( num, exponent );
}
return result;
} );