management 2019s discussion and analysis 114 jpmorgan chase & co./2017 annual report derivative contracts in the normal course of business , the firm uses derivative instruments predominantly for market-making activities . derivatives enable counterparties to manage exposures to fluctuations in interest rates , currencies and other markets . the firm also uses derivative instruments to manage its own credit and other market risk exposure . the nature of the counterparty and the settlement mechanism of the derivative affect the credit risk to which the firm is exposed . for otc derivatives the firm is exposed to the credit risk of the derivative counterparty . for exchange- traded derivatives ( 201cetd 201d ) , such as futures and options , and 201ccleared 201d over-the-counter ( 201cotc-cleared 201d ) derivatives , the firm is generally exposed to the credit risk of the relevant ccp . where possible , the firm seeks to mitigate its credit risk exposures arising from derivative transactions through the use of legally enforceable master netting arrangements and collateral agreements . for further discussion of derivative contracts , counterparties and settlement types , see note 5 . the following table summarizes the net derivative receivables for the periods presented . derivative receivables .

Table: december 31 ( in millions ) 2017 2016 interest rate $ 24673 $ 28302 credit derivatives 869 1294 foreign exchange 16151 23271 equity 7882 4939 commodity 6948 6272 total net of cash collateral 56523 64078 liquid securities and other cash collateral held against derivative receivables ( a ) -16108 ( 16108 ) -22705 ( 22705 ) total net of all collateral $ 40415 $ 41373

( a ) includes collateral related to derivative instruments where an appropriate legal opinion has not been either sought or obtained . derivative receivables reported on the consolidated balance sheets were $ 56.5 billion and $ 64.1 billion at december 31 , 2017 and 2016 , respectively . derivative receivables decreased predominantly as a result of client- driven market-making activities in cib markets , which reduced foreign exchange and interest rate derivative receivables , and increased equity derivative receivables , driven by market movements . derivative receivables amounts represent the fair value of the derivative contracts after giving effect to legally enforceable master netting agreements and cash collateral held by the firm . however , in management 2019s view , the appropriate measure of current credit risk should also take into consideration additional liquid securities ( primarily u.s . government and agency securities and other group of seven nations ( 201cg7 201d ) government bonds ) and other cash collateral held by the firm aggregating $ 16.1 billion and $ 22.7 billion at december 31 , 2017 and 2016 , respectively , that may be used as security when the fair value of the client 2019s exposure is in the firm 2019s favor . in addition to the collateral described in the preceding paragraph , the firm also holds additional collateral ( primarily cash , g7 government securities , other liquid government-agency and guaranteed securities , and corporate debt and equity securities ) delivered by clients at the initiation of transactions , as well as collateral related to contracts that have a non-daily call frequency and collateral that the firm has agreed to return but has not yet settled as of the reporting date . although this collateral does not reduce the balances and is not included in the table above , it is available as security against potential exposure that could arise should the fair value of the client 2019s derivative transactions move in the firm 2019s favor . the derivative receivables fair value , net of all collateral , also does not include other credit enhancements , such as letters of credit . for additional information on the firm 2019s use of collateral agreements , see note 5 . while useful as a current view of credit exposure , the net fair value of the derivative receivables does not capture the potential future variability of that credit exposure . to capture the potential future variability of credit exposure , the firm calculates , on a client-by-client basis , three measures of potential derivatives-related credit loss : peak , derivative risk equivalent ( 201cdre 201d ) , and average exposure ( 201cavg 201d ) . these measures all incorporate netting and collateral benefits , where applicable . peak represents a conservative measure of potential exposure to a counterparty calculated in a manner that is broadly equivalent to a 97.5% ( 97.5 % ) confidence level over the life of the transaction . peak is the primary measure used by the firm for setting of credit limits for derivative transactions , senior management reporting and derivatives exposure management . dre exposure is a measure that expresses the risk of derivative exposure on a basis intended to be equivalent to the risk of loan exposures . dre is a less extreme measure of potential credit loss than peak and is used for aggregating derivative credit risk exposures with loans and other credit risk . finally , avg is a measure of the expected fair value of the firm 2019s derivative receivables at future time periods , including the benefit of collateral . avg exposure over the total life of the derivative contract is used as the primary metric for pricing purposes and is used to calculate credit risk capital and the cva , as further described below . the three year avg exposure was $ 29.0 billion and $ 31.1 billion at december 31 , 2017 and 2016 , respectively , compared with derivative receivables , net of all collateral , of $ 40.4 billion and $ 41.4 billion at december 31 , 2017 and 2016 , respectively . the fair value of the firm 2019s derivative receivables incorporates cva to reflect the credit quality of counterparties . cva is based on the firm 2019s avg to a counterparty and the counterparty 2019s credit spread in the credit derivatives market . the firm believes that active risk management is essential to controlling the dynamic credit risk in the derivatives portfolio . in addition , the firm 2019s risk management process takes into consideration the potential .

Question: in 2017 what was the percent of the total net of cash collateral that was foreign exchange
Answer: 28.6%
Calculation: divide(16151, 56523)