 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu May 17, 2007 8:33 pm Post subject: Leading Zeroes Dropping in Excel |
|
|
I am trying to export java data to Excel, but when I do, leading zeros
are being dropped. Aside from putting ( ' ) around the data, is
there a built in java function to handle this? |
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Fri May 18, 2007 6:36 am Post subject: Re: Leading Zeroes Dropping in Excel |
|
|
cgerhards (AT) gmail (DOT) com wrote:
| Quote: | I am trying to export java data to Excel, but when I do, leading zeros
are being dropped. Aside from putting ( ' ) around the data, is
there a built in java function to handle this?
|
See java.text.NumberFormat.setMinimumIntegerDigits(int)
HTH
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via http://www.javakb.com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|