Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Where can i find a java library that can provide math formatting for number ?

Posted on 2007-11-28
3
246 Views
Last Modified: 2013-11-13
I am looking for a java library that can provide math formatting for number.
For example - I need to
Add a comma after every three digits.
Add two  zeros after decimal place.
Add a percent sign to the numbers.
Round to 1 or 2 digits after decimal.
0
Comment
Question by:amhicraig
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 20369335
Use the DecimalFormat class
0
 
LVL 92

Expert Comment

by:objects
ID: 20369342
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 20371252
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to get all the API from website? 11 104
difference between sorce folder and folder in eclipise 3 28
jmss example java 2 23
java example issue 3 23
A short article about a problem I had getting the GPS LocationListener working.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to implement Singleton Design Pattern in Java.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question