Class BCD


  • public class BCD
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int fromByte​(byte bcd)  
      static int fromInt​(int bcd)  
      static long fromLong​(long bcd)  
      static int fromShort​(short bcd)  
      static byte toByte​(int dec)  
      static int toInt​(int dec)  
      static long toLong​(long dec)  
      static short toShort​(int dec)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toByte

        public static byte toByte​(int dec)
      • toShort

        public static short toShort​(int dec)
      • toInt

        public static int toInt​(int dec)
      • toLong

        public static long toLong​(long dec)
      • fromByte

        public static int fromByte​(byte bcd)
      • fromShort

        public static int fromShort​(short bcd)
      • fromInt

        public static int fromInt​(int bcd)
      • fromLong

        public static long fromLong​(long bcd)