Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 990039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:53:12+00:00 2026-05-16T05:53:12+00:00

For a Java application that drags data together from some sources and does some

  • 0

For a Java application that drags data together from some sources and does some calculation itself, we want to offer users the possibility to use their own format strings, and would prefer the format string syntax they know from Excel (e. g. "$ "#,###.,0) which happens to be the same used in .net and Analysis Services.

The closest thing to use that I found in Java is DecimalFormat which lacks some of the features (e. g. thousands and millions formatting by putting the thousands separator at the end, the floating point numbers NaN and infinity are displayed differently, etc., and probably depending on locale, there will be some additional small differences.

For now, just the numeric formatting would suffice. Maybe date and string formatting will become a requirement in future.

Is there a library, or would we have to develop that ourselves?

I cannot imagine we are the only ones who have this issue.

POI as suggested by Noel M does not seem to offer a solution. Any other ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:53:13+00:00Added an answer on May 16, 2026 at 5:53 am

    Is there a library, or would we have to develop that ourselves?

    Check ExtenXLS, the Java Spreadsheet SDK, or its open source version OpenXLS (under GPLv.3). About OpenXLS:

    OpenXLS is the open-source version of
    ExtenXLS — the leading Java
    Spreadsheet SDK.

    OpenXLS is the no-risk way to embed
    advanced Java spreadsheet
    functionality in your applications.

    With the same industrial-strength code
    as ExtenXLS3, OpenXLS is a rock-solid
    performer which gives your Java
    applications the spreadsheet
    functionality your users demand — and
    then some!

    Give your users business intelligence
    applications and reports in the format
    they know and love, complete with
    Charts, images, VB code, and all of
    the features of Excel intact.

    I had a quick look at the API and found this FormatHandle#convertFormatString(String) that converts an Excel-style format string to a Java Format string.

    I don’t know if it will match your constraints but it’s definitely a serious product.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 531k
  • Answers 531k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer They are definitely used for adding semantic meaning to the… May 16, 2026 at 11:45 pm
  • Editorial Team
    Editorial Team added an answer i found a deprecated link function in the template. updating… May 16, 2026 at 11:45 pm
  • Editorial Team
    Editorial Team added an answer You have to roll your own. E.g., /* from :http://www.builderau.com.au/architect/database/soa/Create-functions-to-join-and-split-strings-in-Oracle/0,339024547,339129882,00.htm… May 16, 2026 at 11:45 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I've written a fairly simple java application that allows you to drag your mouse
I'm trying to create a java desktop application that holds desktop icons. The app
I am developing a java desktop application. I have some doubts or problems in
I'm writing a Java application that's working with Apache Derby via JDBC. I'm having
Am working on a Java application that requires me to display PDF documents within
I wrote a simple Java application that reads and writes journals (encrypted text files)
I am trying to write a Java application that will query the WMI on
I have a Java web application that has a 'disconnected' Java Swing desktop app.
I mean using and IDE of course. Does Java come with a toolbox like
I have written an application that connects to a SSL web service (including client

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.