0

I'd like to take a number, say 123456, and I'd like to format it as 123,456.00 when exporting to Excel through a Java app. I need it to be treated as a number in order to perform numeric calculations in Excel.

rajah9
  • 11,645
  • 5
  • 44
  • 57

1 Answers1

0

Welcome to Stackoverflow.

I would suggest that you implement this using a well known Excel API, Apache POI. Here is the Getting Started page.

If you want to format your numeric cell with commas, please see this section of the Quick Guide.

rajah9
  • 11,645
  • 5
  • 44
  • 57