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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.2, 3.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: