How to change excel number format to 2 decimal places from matlab using actxserver?
e = actxserver('Excel.Application'); eWorkbook = e.Workbooks.Add; e.Visible = 1; eSheets = e.ActiveWorkbook.Sheets; eSheet1 = eSheets.get('Item', 1); eSheet1.Activate; eActivesheetRange = e.Activesheet.get('Range', 'A1'); eActivesheetRange.Value = 0.022432; eActivesheetRange.NumberFormat = ????
I want excel to displa 0.02
No products are associated with this question.