Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

exporting csv report in jsp  RSS feed

 
Anuj Joshi
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,


I am exporting a report to .csv format, there are different columns in that report like version number, name etc.
This is done in jsp.

I getting a version no. in x.x format e.g. 1.2
So when I have version no. 1.2 then in csv report it is showing correctly 1.2 but for version number format X.0 (e.g. 2.0) it is showing me a round fig. i.e. 2
but in report I want it as 2.0 and not 2
in how can I done it in jsp.

Please reply me asap

Thanks
 
Rob Spoor
Sheriff
Posts: 21087
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This rounding behaviour, is this in Excel? Because Excel is notorious for adding its own formatting to CSV files when you open them.

Anuj Joshi wrote:Please reply me asap

Please Ease Up.

Moving to JSP.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!