Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleConverter: Support DecimalPattern #71

Open
jornfranke opened this issue May 4, 2021 · 0 comments
Open

SimpleConverter: Support DecimalPattern #71

jornfranke opened this issue May 4, 2021 · 0 comments

Comments

@jornfranke
Copy link
Member

jornfranke commented May 4, 2021

At the moment, HadoopOffice supports defining a decimal locale for automatically recognizing datatypes in an Excel using the simple converter. In addition, it should support a Decimal pattern.

It thus should so offer the configuration option:hadoopoffice.read.simple.decimalpattern and hadoopoffice.write.simple.decimalpattern

Possible Patterns are described under the link above. Examples:

  • "#,#00.0#" → 1,234.56 : This means a minimum of 2 integer digits, 1 fraction digit, and a maximum of 2 fraction digits.
  • #,#00.0#;(#,#00.0#)" for negatives in parentheses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant