question: calculate how many cycles are needed for given qty and units per cycle concode_field_sep PlaceHolder placeHolder concode_field_sep BigDecimal estimateWorkingTime concode_elem_sep BigDecimal estimateWorkingTime concode_elem_sep BigDecimal estimateWorkingTime concode_elem_sep BigDecimal getResourceBaseValue concode_elem_sep BigDecimal getResourceBaseValue concode_elem_sep BigDecimal getResourceBaseValue concode_elem_sep BigDecimal convertDuration concode_elem_sep BigDecimal calculateDuration concode_elem_sep BigDecimal calculateDuration concode_elem_sep BigDecimal calculateDuration concode_elem_sep BigDecimal calculateDuration concode_elem_sep long getDurationBaseSec concode_elem_sep long getDurationBaseSec concode_elem_sep I_AD_WF_Node getAD_WF_Node concode_elem_sep boolean isTime concode_elem_sep BigDecimal convertDurationToResourceUOM
target: int function ( int arg0 , BigDecimal arg1 ) { BigDecimal loc0 = arg1 ; BigDecimal loc1 = BigDecimal . valueOf ( arg0 ) ; if ( loc1 . signum ( ) > 0 ) { loc0 = arg1 . divide ( loc1 , 0 , RoundingMode . UP ) ; } return loc0 . intValue ( ) ; }