Please answer the given financial question based on the context.
Context: 6 . principal transactions citi 2019s principal transactions revenue consists of realized and unrealized gains and losses from trading activities . trading activities include revenues from fixed income , equities , credit and commodities products and foreign exchange transactions that are managed on a portfolio basis characterized by primary risk . not included in the table below is the impact of net interest revenue related to trading activities , which is an integral part of trading activities 2019 profitability . for additional information regarding principal transactions revenue , see note a04 to the consolidated financial statements for information about net interest revenue related to trading activities . principal transactions include cva ( credit valuation adjustments on derivatives ) and fva ( funding valuation adjustments ) on over-the-counter derivatives . these adjustments are discussed further in note 24 to the consolidated financial statements . the following table presents principal transactions revenue: .
|in millions of dollars|2018|2017|2016|
|interest rate risks ( 1 )|$ 5186|$ 5301|$ 4229|
|foreign exchange risks ( 2 )|1423|2435|1699|
|equity risks ( 3 )|1346|525|330|
|commodity and other risks ( 4 )|662|425|899|
|credit products and risks ( 5 )|445|789|700|
|total|$ 9062|$ 9475|$ 7857|
( 1 ) includes revenues from government securities and corporate debt , municipal securities , mortgage securities and other debt instruments . also includes spot and forward trading of currencies and exchange-traded and over-the-counter ( otc ) currency options , options on fixed income securities , interest rate swaps , currency swaps , swap options , caps and floors , financial futures , otc options and forward contracts on fixed income securities . ( 2 ) includes revenues from foreign exchange spot , forward , option and swap contracts , as well as foreign currency translation ( fx translation ) gains and losses . ( 3 ) includes revenues from common , preferred and convertible preferred stock , convertible corporate debt , equity-linked notes and exchange-traded and otc equity options and warrants . ( 4 ) primarily includes revenues from crude oil , refined oil products , natural gas and other commodities trades . ( 5 ) includes revenues from structured credit products. .
Question: what was the percent of the principal transactions revenue associated with foreign exchange risks in 2017


Answer: The answer is:0.25699