Solved

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

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

Expert Comment

by:objects
ID: 20369342
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 20371252
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb wildfly example 2 73
backup program with robocopy 6 74
Need help aligning JRadioButton that put in a box using GridBagLayout 2 27
import as existing maven project 3 38
This is an explanation of a simple data model to help parse a JSON feed
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

749 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