Visokio website     Downloads     Video tutorials     KnowledgeBase  
Aggregation: decimal number sum precision - Visokio Forums
Aggregation: decimal number sum precision
  •     ygulla January 8, 2014 10:32AM
    I just found some strange decimal number behaviour in Omniscope 2.8 b1190

    It looks like when aggregating 2 decimal numbers with more than 7 digits the sum loses some precision in an unexpected manner:
    e.g. in the attached example 100,000.51 + 0.11 = 100,000.6 (see “loss of precision” block)

    The rest of the blocks just show some examples that work.
  • 1 Comment
  •     paola January 10, 2014 6:53AM
    Thanks for sending this. Omniscope will by default round the result to 7 significant figures, in effort to avoid too many decimals in some common cases.
    The value is preserved, and you can add the FieldOrganiser either before or after the Aggregation block to regulate the outcome.

Welcome!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership