Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-126

Decimal numbers literals should be 'double' by default (instead of 'float')

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2, 3.0
    • Labels:
      None

      Description

      Since Jexl 1.x, decimal number literals are 'float'; it would be more natural (pun unintended) to create 'double' instead since they are used more often (reduce 'surprise' effects).
      Note that since 2.1, numbers literals notations allow typing; '123f' is a float literal.

        Attachments

          Activity

            People

            • Assignee:
              henrib Henri Biestro
              Reporter:
              henrib Henri Biestro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: