Math.round fails for negative numbers

XMLWordPrintable

    • 1.0alpha2
    • sparc
    • solaris_2.4
    • Not verified

      Apparently casting to int does a truncate towards zero which is
      not the correct operation to use for rounding. Math.floor should
      be used instead.

            Assignee:
            Jim Graham
            Reporter:
            Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: