Class NSRoundingMode


  • public final class NSRoundingMode
    extends java.lang.Object
    Rounding policies : Original value 1.2 1.21 1.25 1.35 1.27 Plain 1.2 1.2 1.3 1.4 1.3 Down 1.2 1.2 1.2 1.3 1.2 Up 1.2 1.3 1.3 1.4 1.3 Bankers 1.2 1.2 1.2 1.4 1.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Bankers
      on a tie round so last digit is even
      static long Down
      Always down == truncate
      static long Plain
      Round up on a tie
      static long Up
      Always up
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait