var extra_fee_code=parseFloat(ans.extra_fee_code); ----- NaN
var extra_fee_subcode=parseFloat(ans.extra_fee_subcode); ------NaN
var extra_fee_payable=eval(ans.extra_fee_payable); ----- undefined
var xfcounter_code=eval(ans.xfcounter_code); -----undefined
var valueIfNoValue = -1.0;
var extra_fee_code = ans.extra_fee_code ? parseFloat(ans.extra_fee_code) : valueIfNoValue;