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

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -