Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3312

Dividing int constant values should result in decimal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 4.6.0
    • None
    • None
    • None

    Description

      When dividing int constants the result is an int while it should be decimal (like 1/3 = 0 and not 0.33)

      There is a work around to do 1/3.0 but this is not a solution.

      Attachments

        1. PHOENIX-3312.patch
          19 kB
          Kevin Liew

        Issue Links

          Activity

            People

              kliew Kevin Liew
              noamb noam bulvik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: