AerovalĀ® Aircraft Parts Inflation Calculator™

Ā 

    * Part Number:

    * Current OEM List Price:

    $

    * Reference Price:

    $

    * Current Date:

    * Reference Date:

    * Results are approximate with accuracy and authenticity based on price/date information entered by user. Provided for reference only.

    <script type="text/javascript"><!-- [et_pb_line_break_holder] -->var aerovalpid = 0;<!-- [et_pb_line_break_holder] -->var aerovalpnum = '';<!-- [et_pb_line_break_holder] -->var aerovalrefprice = 0.0;<!-- [et_pb_line_break_holder] -->var aerovalrefdate = new Date();<!-- [et_pb_line_break_holder] -->var aerovaloemprice = 0.0;<!-- [et_pb_line_break_holder] -->var aerovalcurrdate = new Date();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->//setInfCalcValues();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->jQuery(document).ready(function(){<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> jQuery(".infcalc-currdate").val(getCleanDateString(aerovalcurrdate));<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> jQuery(".infcalc-submit").click(function(e){<!-- [et_pb_line_break_holder] --> e.preventDefault();<!-- [et_pb_line_break_holder] --> if(calcInflation()){<!-- [et_pb_line_break_holder] --> jQuery(this).submit();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> try{<!-- [et_pb_line_break_holder] --> var infCalcForm = document.querySelector("#wpcf7-f153-p172-o1");<!-- [et_pb_line_break_holder] --> infCalcForm.addEventListener('wpcf7submit', function(e){<!-- [et_pb_line_break_holder] --> /*alert('Submitted!');<!-- [et_pb_line_break_holder] --> setInfCalcValues();*/<!-- [et_pb_line_break_holder] --> setTimeout(setInfCalcValues,500);<!-- [et_pb_line_break_holder] --> }, false);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> }catch(exInf){<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->});<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->function getCleanDateString(dt){<!-- [et_pb_line_break_holder] --> return dt.toLocaleDateString();<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->function setInfCalcValues(){<!-- [et_pb_line_break_holder] --> try{<!-- [et_pb_line_break_holder] --> //alert('hello');<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> //alert(getCleanDateString(aerovalcurrdate));<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-oempartnum").val(aerovalpnum);<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-oemlistprice").val(aerovaloemprice);<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-refprice").val(aerovalrefprice);<!-- [et_pb_line_break_holder] --> //jQuery(".infcalc-refdate").datepicker('setDate',aerovalrefdate).attr('readonly',true).addClass("readOnlyTb");<!-- [et_pb_line_break_holder] --> //jQuery(".infcalc-currdate").datepicker('setDate',aerovalcurrdate).attr('readonly',true).addClass("readOnlyTb");<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-refdate").val(getCleanDateString(aerovalrefdate));<!-- [et_pb_line_break_holder] --> //alert(jQuery(".infcalc-refdate").val());<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-currdate").val(getCleanDateString(aerovalcurrdate));<!-- [et_pb_line_break_holder] --> //.attr('readonly',true).addClass("readOnlyTb");<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-pid").val(aerovalpid);<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-inflval").val('');<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-inflvalraw").val('');<!-- [et_pb_line_break_holder] --> }catch(e){<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->function calcInflation(){<!-- [et_pb_line_break_holder] --> var retVal = false;<!-- [et_pb_line_break_holder] --> try{<!-- [et_pb_line_break_holder] --> aerovalpid = 0;<!-- [et_pb_line_break_holder] --> aerovalpnum = jQuery(".infcalc-oempartnum").val();<!-- [et_pb_line_break_holder] --> aerovalrefprice = parseFloat(jQuery(".infcalc-refprice").val());<!-- [et_pb_line_break_holder] --> aerovalrefdate = new Date(jQuery(".infcalc-refdate").val());<!-- [et_pb_line_break_holder] --> aerovaloemprice = parseFloat(jQuery(".infcalc-oemlistprice").val());<!-- [et_pb_line_break_holder] --> aerovalcurrdate = new Date(jQuery(".infcalc-currdate").val());<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if(isNaN(aerovaloemprice) || aerovaloemprice === null){<!-- [et_pb_line_break_holder] --> jQuery("#infCalcResult").html("Invalid current OEM list price or price cannot be 0.").addClass("eg").removeClass("sg");<!-- [et_pb_line_break_holder] --> }else if(isNaN(aerovalrefprice) || aerovalrefprice === null || aerovalrefprice == 0){<!-- [et_pb_line_break_holder] --> jQuery("#infCalcResult").html("Invalid reference price or price cannot be 0.").addClass("eg").removeClass("sg");<!-- [et_pb_line_break_holder] --> }else if(isNaN(aerovalrefdate) || aerovalrefdate === null){<!-- [et_pb_line_break_holder] --> jQuery("#infCalcResult").html("Invalid reference date.").addClass("eg").removeClass("sg");<!-- [et_pb_line_break_holder] --> }else if(isNaN(aerovalcurrdate) || aerovalcurrdate === null){<!-- [et_pb_line_break_holder] --> jQuery("#infCalcResult").html("Invalid current date.").addClass("eg").removeClass("sg");<!-- [et_pb_line_break_holder] --> }else if(aerovalpnum == '' || aerovalpnum === null){<!-- [et_pb_line_break_holder] --> jQuery("#infCalcResult").html("Part number is required.").addClass("eg").removeClass("sg");<!-- [et_pb_line_break_holder] --> }else{<!-- [et_pb_line_break_holder] --> var inf = (((Math.round(aerovaloemprice,2) / Math.round(aerovalrefprice,2)) - 1) * 100.0) / (((aerovalcurrdate - aerovalrefdate) / (1000*60*60*24)) / 365);<!-- [et_pb_line_break_holder] --> var infTotal = (((Math.round(aerovaloemprice,2) / Math.round(aerovalrefprice,2)) - 1) * 100.0) ;<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-inflval").val(inf);<!-- [et_pb_line_break_holder] --> jQuery(".infcalc-inflvalraw").val(infTotal);<!-- [et_pb_line_break_holder] --> jQuery("#infCalcResult").html("<strong>* " + inf.toFixed(4) + "% Gross average prorated yearly raw inflation</strong> for measured time period.<br />" + <!-- [et_pb_line_break_holder] --> "<strong>* " + infTotal.toFixed(4) + "% Total gross raw inflation</strong> from beginning cost for measured time period.").addClass("sg").removeClass("eg");<!-- [et_pb_line_break_holder] --> retVal = true;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> }catch(e){<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> jQuery("#infCalcResult").html("Unable to calculate inflation, please try again. " + e.msg).addClass("eg").removeClass("sg");<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> return retVal;<!-- [et_pb_line_break_holder] -->} <!-- [et_pb_line_break_holder] --></script>