Git Product home page Git Product logo

Comments (4)

tfennelly avatar tfennelly commented on May 25, 2024

Hey there. Thanks for reporting this. What you're suggesting makes sense. Would you like to create a pull request for this? Otherwise I'll just make the changes.

from smooks.

mkleijwegt avatar mkleijwegt commented on May 25, 2024

Today I read an IFTMIN 95B message and directly wrote it. What I see is that the output differs from the input with regard to the decimals. For instance when I read GID+2+5' it is written as GID+2.0+5.0'. I suppose this issue has not been resolved? Is there any way to programmatically configure this?

from smooks.

raviu avatar raviu commented on May 25, 2024

I've run into a similar issue. Smooks EDIFACT output is always to two decimal places because of the DABigDecimalDecoder decimal point format.

Wouldn't hardcoding the value to a particular format make it too restrictive? What if a vendor requires a particular decimal format? Ideal solution would be to make this configurable.

from smooks.

bnserig avatar bnserig commented on May 25, 2024

Hi,

I need 3 fraction digits but #0.0# is hardcoded in DABigDecimalDecoder. How can I do this ?

from smooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.