Read the following texts and table with financial data from an S&P 500 earnings report carefully.Based on the question-answer history (if provided), answer the last question. The answer may require mathematical calculation based on the data provided.

Text: sources and uses of cash ( in millions ) in summary , our cash flows for each period were as follows : years ended ( in millions ) dec 29 , dec 30 , dec 31 . <table class='wikitable'><tr><td>1</td><td>years ended ( in millions )</td><td>dec 292018</td><td>dec 302017</td><td>dec 312016</td></tr><tr><td>2</td><td>net cash provided by operating activities</td><td>$ 29432</td><td>$ 22110</td><td>$ 21808</td></tr><tr><td>3</td><td>net cash used for investing activities</td><td>-11239 ( 11239 )</td><td>-15762 ( 15762 )</td><td>-25817 ( 25817 )</td></tr><tr><td>4</td><td>net cash provided by ( used for ) financing activities</td><td>-18607 ( 18607 )</td><td>-8475 ( 8475 )</td><td>-5739 ( 5739 )</td></tr><tr><td>5</td><td>net increase ( decrease ) in cash and cash equivalents</td><td>$ -414 ( 414 )</td><td>$ -2127 ( 2127 )</td><td>$ -9748 ( 9748 )</td></tr></table> md&a consolidated results and analysis 40 .
Question: what was the value of cash provided by operating activities in 2018?

user
29432.0
assistant