emulates excel/calc 's ipmt interest_rate , period , number_payments , pv , fv , type function , which calculates the portion of the payment at a given period that is the interest on previous balance . concode_field_sep PlaceHolder placeHolder concode_field_sep double fv concode_elem_sep double fv concode_elem_sep double ppmt concode_elem_sep double ppmt concode_elem_sep double ppmt concode_elem_sep double pmt concode_elem_sep double pmt concode_elem_sep double pmt
double function ( double arg0 , int arg1 , int arg2 , double arg3 , double arg4 , int arg5 ) { double loc0 = arg4 ( arg0 , arg1 - 1 , pmt ( arg0 , arg2 , arg3 , arg4 , arg5 ) , arg3 , arg5 ) * arg0 ; if ( arg5 == 1 ) loc0 /= ( 1 + arg0 ) ; return loc0 ; }