Fiscal year ended January 31,
Fiscal year ended January 31,
Fiscal year ended January 31,
(in millions)
2019
2018
2017
Net cash provided by operating activities
$377.1
$0.9
$169.7
Net cash (used in) provided by investing activities
(710.4)
506.4
272.0
Net cash provided by (used in) financing activities
151.9
(656.6)
(578.3)
liquidity and capital resources .
our primary source of cash is from the sale of our software and related services .
our primary use of cash is payment of our operating costs which consist primarily of employee-related expenses such as compensation and benefits as well as general operating expenses for marketing facilities and overhead costs .
in addition to operating expenses we also use cash to fund our stock repurchase program and invest in our growth initiatives which include acquisitions of products technology and businesses .
see further discussion of these items below .
at january 31 2019 our principal sources of liquidity were cash cash equivalents and marketable securities totaling $ 953 .
6 million and net accounts receivable of $ 474 .
3 million .
on december 17 2018 autodesk entered into a new credit agreement -the “ credit agreement ” for an unsecured revolving loan facility in the aggregate principal amount of $ 650 .
0 million with an option to request increases in the amount of the credit facility by up to an additional $ 350 .
0 million .
the credit agreement replaced and terminated our $ 400 .
0 million amended and restated credit agreement .
the maturity date on the line of credit facility is december 2023 .
at january 31 2019 autodesk had no outstanding borrowings on this line of credit .
as of march 25 2019 we have no amounts outstanding under the credit facility .
see part ii item 8 note 8 " borrowing arrangements " in the notes to consolidated financial statements for further discussion on our covenant requirements .
if we are unable to remain in compliance with the covenants we will not be able to draw on our credit facility .
on december 17 2018 we also entered into a term loan agreement -the “ term loan agreement ” which provided for a delayed draw term loan facility in the aggregate principal amount of $ 500 .
0 million .
on december 19 2018 we borrowed a $ 500 .
0 million term loan under the term loan agreement in connection with the acquisition of plangrid .
see part ii item 8note 8 " borrowing arrangements " in the notes to consolidated financial statements for further discussion on the term loan agreement terms and part ii item 8 note 6 " acquisitions " for further discussion on the plangrid acquisition .
in addition to the term loan as of january 31 2019 we have $ 1 .
6 billion aggregate principal amount of notes outstanding .
see part ii item 8 note 8 " borrowing arrangements " in the notes to consolidated financial statements for further discussion .
our cash and cash equivalents are held by diversified financial institutions globally .
our primary commercial banking relationship is with citigroup and its global affiliates .
in addition citibank n .
a .
an affiliate of citigroup is one of the lead lenders and agent in the syndicate of our $ 650 .
0 million line of credit .
long-term cash requirements for items other than normal operating expenses are anticipated for the following : repayment of debt ; common stock repurchases ; the acquisition of businesses software products or technologies complementary to our business ; and capital expenditures including the purchase and implementation of internal-use software applications .
our cash cash equivalents and marketable securities balances are concentrated in a few locations around the world with substantial amounts held outside of the united states .
as of january 31 2019 approximately 52 % of our total cash or cash equivalents and marketable securities are located in foreign jurisdictions and that percentage will fluctuate subject to business needs .
there are several factors that can impact our ability to utilize foreign cash balances such as foreign exchange restrictions foreign regulatory restrictions or adverse tax costs .
the tax act includes a mandatory one-time tax on accumulated earnings of foreign subsidiaries and generally eliminates u .
s .
taxes on foreign subsidiary distributions in future periods .
as a result earnings in foreign jurisdictions are generally available for distribution to the u .
s .
with little to no incremental u .
s .
taxes .
we regularly review our capital structure and consider a variety of potential financing alternatives and planning strategies to ensure we have the proper liquidity available in the locations in which it is needed .
we expect to meet our liquidity needs through a combination of current cash balances ongoing cash flows and external borrowings .
cash from operations could also be affected by various risks and uncertainties including but not limited to the risks detailed in part i item 1a titled “ risk factors .
” however based on our current business plan and revenue prospects we believe that our existing balances our anticipated cash flows from operations and our available credit facility will be sufficient to meet our working capital and operating resource expenditure requirements for at least the next 12 months .
our revenue earnings cash flows receivables and payables are subject to fluctuations due to changes in foreign currency exchange rates for which we have put in place foreign currency contracts as part of our risk management strategy .
see part ii item 7a “ quantitative and qualitative disclosures about market risk ” for further discussion .
net cash provided by operating activities of $ 377 .
1 million for fiscal 2019 consisted of $ 371 .
8 million of non-cash expenses including stock-based compensation expense restructuring charges net depreciation amortization and accretion expense offsetting our net loss of $ 80 .
8 million and included $ 86 .
1 million of cash flow provided by changes in operating assets and liabilities .
the primary working capital source of cash was an increase in deferred revenue from $ 1955 .
1 million as of january 31 2018 to $ 2091 .
4 million as of january 31 2019 .
the primary working capital uses of cash were decreases in accounts payable and other accrued liabilities .
net cash used in investing activities was $ 710 .
4 million for fiscal 2019 and was primarily due to acquisitions net of cash acquired and purchases of marketable securities .
these cash outflows were partially offset by sales and maturities of marketable securities .
at january 31 2019 our short-term investment portfolio had an estimated fair value of $ 67 .
6 million and a cost basis of $ 62 .
8 million .
the portfolio fair value consisted of $ 60 .
3 million of trading securities that were invested in a defined set of mutual funds as directed by the participants in our deferred compensation plan -see note 7 “ deferred compensation ” in the notes to consolidated financial statements for further discussion and $ 7 .
3 million invested in other available-for-sale shortterm securities .
net cash provided by financing activities was $ 151 .
9 million in fiscal 2019 and was primarily due to proceeds from debt issuance net of discount and proceeds from issuance of stock .
these cash inflows were partially offset by repurchases of our common stock and taxes paid related to net share settlement of equity awards .

Question: What was the difference in net cash provided by operating activities in 2019?
Answer: 376.2