Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

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

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
amhicraig
Asked:
amhicraig
  • 2
1 Solution
 
objectsCommented:
Use the DecimalFormat class
0
 
Loganathan NatarajanLAMP DeveloperCommented:
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now