poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aakeef <sanaak...@gmail.com>
Subject Setting the cell type to “numeric” for an entire column
Date Fri, 20 Dec 2013 05:25:29 GMT
I'm Creating excel and writting the data into excel(.xlsx) as String list.

i want to set few columns data fromat as Number/Numeric.

textStyle.setDataFormat(fmt.getFormat("@"));
sheet.setDefaultColumnStyle(12, textStyle);

What would be the Syntax for Number/Numeric??

Thanks
Aakeef 



--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Setting-the-cell-type-to-numeric-for-an-entire-column-tp5714477.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message