r1 - 02 Aug 2007 - 07:15:16 - LeeYan?You are here: TWiki >  Main Web  >  ElixirReport > ElixirReportCookbook > FormattingOfNumbersInExcelOutput

Formatting of numbers in Excel output

When we pass in a field of double, float or integer type into Excel, Excel ignores our formatting and treat it as a number without the formatting we specified eg #,###.00 etc. To get around this, you need to append ' in front of the field so that Excel will treat it as String and show the number with the formatting.

Sample

-- Main.LeeYan - 02 Aug 2007

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback