Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

What’s the maximum range of a number that can be stored in a protocol parameter?

Solved1.48K views12th October 2023parameter range SLProtocol
6
Brecht Deconinck [SLC] [DevOps Member]1.20K 12th October 2023 0 Comments

When setting huge numbers received from a device (up to 17 digits) to a protocol parameter, DataMiner is not showing the value correctly.

As a test we’re setting the ulong.MaxValue to both a numeric-double and other-string parameter to show the difference in value.

Is there a  maximum range on what a protocol parameter can handle as an actual number?
If so, what’s the range?

Brecht Deconinck [SLC] [DevOps Member] Selected answer as best 12th October 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
9
Laurens Moutton [SLC] [DevOps Enabler]8.89K Posted 12th October 2023 0 Comments

Hi,

In the background, a parameter is either a string or a double. If it’s a number then this is a double in the background (8 bytes). A double consists of 3 parts: the sign bit, the exponent (11 bits) and fraction (52 bits). The combination of this makes that a double can also represent decimals because it’s a calculation that happens with the different parts.

When trying to write an ulong.MaxValue, this means that a 64 bits unsigned integer (8 bytes) will be tried to be written into a double with the same number of bytes where the double is making the calculation with the exponent and fraction, which is not as accurate as the unsigned integer for large numbers.

The maximum value that an integer can store in a double without losing precision would be 2^53 (roughly a 9 followed by 15 zeros, so 17 digits will not be possible to display such a large integer with the correct precision). A nice explanation can be found here .

Regards,

Brecht Deconinck [SLC] [DevOps Member] Selected answer as best 12th October 2023
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs