Solved

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

Posted on 2007-11-28
3
237 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
What is Python programming? 3 68
maven project error 5 21
Java DateChooser? 2 13
Programatically extract date from website 8 19
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now