Don't Use double Constructor on BigDecimal
August 1, 2013
Avoid using the BigDecimal constructor in Java that takes a double:
public class Test { public static void main(String[] argv) { double lDouble = 123.45; System.out.println …
Adventures in software

August 1, 2013
Avoid using the BigDecimal constructor in Java that takes a double:
public class Test { public static void main(String[] argv) { double lDouble = 123.45; System.out.println …

I'm Tim Sawyer. I'm a software architect. I usually end up writing software in my spare time too, though I can also be found playing percussion and taking photos.
This blog is my notebook, where I can record how something was done. If someone else finds this content enlightening then so much the better.
Everything on here is my own view and reflects no one I have, do or will work for.
(c) 2009-2026 . Based on a design by nodethirtythree + Free CSS Templates