Package com.automation_pros.odva.util
Class BCD
- java.lang.Object
-
- com.automation_pros.odva.util.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)
-
-
-
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)
-
-