Uploaded image for project: 'XJDF / JDF'
  1. XJDF / JDF
  2. JDF-651

clarify the use of mathematical operators in XXXValue / XXXTemplate pairs

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Implemented (View Workflow)
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7, 2.1
    • Component/s: Appendix
    • Labels:
      None

      Description

      If mathematical operations are required, where do they belong?

        Draft

        D String Generation
        ...
        Use of operators in @XXXTemplate

        Numerical variables, i.e. variables with an entry of float or int in the ā€˜Cā€™
        LANGUAGE
        DATATYPE' column MAY be modified with explicit numbers and simple mathematical operators as defined in Table D.2 and SHALL be evaluated using standard C-operator precedence

        Table D2 operators in @XXXTemplate
        |Operator|Notes|
        |+|Addition. Both unary and binary addition SHALL be supported.|
        |-|Subtraction. Both unary and binary subtraction SHALL be supported.|
        |*|Multiplication|
        |/|Division|
        |%|Modulo|
        |()|Paranthesis.

        <note for JDF float--> double>

         

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  prosi Rainer Prosi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: