float « bigdecimal « Java Data Type Q&A

1. Double vs. BigDecimal?    stackoverflow.com

I have to calculate some floating point variables and my colleague suggest me to use BigDecimal instead of double since it will be more precise. But I want to know what ...

2. How to convert from float to bigDecimal in java?    stackoverflow.com

How to convert from float to bigDecimal in java?

4. BigDecimal vs floating points...    forums.oracle.com

Hi all, I know its probably been asked amillion times before but I need to finally fully understand and get my head around the two. Firstly here are some bits I've been told by different people and read in different places (alot of people seem to think differently which is what confuses me): - I've read that if you are wanting ...