How do I prevent String.format("%.2f", doubleValue);
from rounding off (round half up algorithm) instead of just truncating it?
e.g.
doubleValue = 123.459
after formatting,
doubleValue = 123.46
I just want to discard the last digit,
123.45
I know there are other ways to do this, I just want to know if this is possible using the String.format.