Giter VIP home page Giter VIP logo

Comments (6)

randy-armstrong avatar randy-armstrong commented on August 10, 2024 1

Decimal type has now been official added to Part 6 1.04 RC.
It matches the Java BigDecimal type.

from ua-nodeset.

randy-armstrong avatar randy-armstrong commented on August 10, 2024

There is an open mantis issue to add a Decimal as a built subtype of number. It should be be removed from the published NodeSet since the WG has not finalized the updates to the spec.

from ua-nodeset.

kevinherron avatar kevinherron commented on August 10, 2024

Is this happening in 1.04 or is it not that far along?

from ua-nodeset.

randy-armstrong avatar randy-armstrong commented on August 10, 2024

It won't be in the RC because it lower priority than PubSub, JSON, OAuth2 and WebSocket support.
ISA95 needs it so will have to happen soon.

BTW: Any feedback you have on the concept would be helpful. The idea is the type would be a ByteString on the wire but at the application level the DataType would tell applications that it is a Decimal with a known encoding (there is an RFC for decimals). Would that be a problem for your stack?

from ua-nodeset.

kevinherron avatar kevinherron commented on August 10, 2024

If Decimal128 is supposed to be an IEEE-754 quadruple-precision then it's going to be a pain to support in Java - there's no built-in equivalent type or parsing logic for this :(

The closest we have is the BigDecimal type which is an arbitrary precision signed decimal type. Seems mostly suited to being created from a string representation though.

from ua-nodeset.

randy-armstrong avatar randy-armstrong commented on August 10, 2024

You can find all of the WG information on the topic here:
https://opcfoundation-onlineapplications.org/mantis/view.php?id=2060

from ua-nodeset.

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.