java - Storing Double in ArrayList -


i have arraylist of type integer, possible store value in (eg: 1.25) without having cast int therefore losing bit after decimal?

no, cannot store doubles in arraylist<integer> without loss of precision. can, however, store them in arraylist<double>.


Comments

Popular posts from this blog

python - cx_oracle unable to find Oracle Client -

shader - OpenGL Shadow Map -

c# - Exchange 2010/2013 TransportAgent Content Conversion for Internal Recipients -