Double precision (Java in General forum at JavaRanch)
What is the best way to limit a Double objects precision. For example I want the Double object to be limited to only 2 decimal places. Below are examp ... If you create a BigDecimal object from your double value, then you can set the scale (2) and choose ...