Advertisement

02.01.2008 at 01:45PM PST, ID: 23130935
[x]
Attachment Details

How do I use the Bigdecimal class to ensure that my final value rounds to .05

Asked by dmissel in Java Programming Language

I have an application and I need to ensure that the final value rounds up / down.

If the value is negative (-27.12), this should round down to (-27.10)

If the value is positive (27.12), this should round up to (27.15).

Thanks in advance Start Free Trial
 
Keywords: How do I use the Bigdecimal class to e…
 
Loading Advertisement...
 
[+][-]02.01.2008 at 01:52PM PST, ID: 20801111

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 01:55PM PST, ID: 20801131

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 02:22PM PST, ID: 20801297

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Sign Up Now!
Solution Provided By: ysnky
Participating Experts: 2
Solution Grade: A
 
 
[+][-]02.01.2008 at 02:25PM PST, ID: 20801308

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.01.2008 at 02:27PM PST, ID: 20801323

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2008 at 03:07PM PST, ID: 20801622

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628