Apache-POI field formating -


how specify if information numeric? it.mopid field suppose numeric field comes through text. thoughts this?

cellmopid.setcellvalue(it.mopid) cellstartdate.setcellvalue("" + it.som) 

you have change cell type, like: cell.setcelltype(cell.cell_type_numeric);

http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/cell.html apache poi - number integer


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -