Solved

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

Posted on 2007-11-28
3
252 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
[X]
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
  • 2
3 Comments
 
LVL 92

Accepted Solution

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

Expert Comment

by:Loganathan Natarajan
ID: 20371252
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
A short article about problems I had with the new location API and permissions in Marshmallow
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Simple Linear Regression

696 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