Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2789

mod operation does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.5.6
    • 1.5.7
    • None
    • None
    • jdk6u6

    Description

      I found the following code can not be executed properly.

      Please have a look.

      int sum = 97
      println ((int) sum) % 100
      

      Thanks,
      Daniel.Sun

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniel_sun Daniel Sun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: