Class NumberHelper
Helpers for number.
public static class NumberHelper
- Inheritance
-
NumberHelper
Methods
Bcd2Dec(byte)
BCD To decimal
public static int Bcd2Dec(byte bcd)
Parameters
bcd
byteBCD Code
Returns
- int
decimal
Bcd2Dec(byte[])
BCD To decimal
public static int Bcd2Dec(byte[] bcds)
Parameters
bcds
byte[]BCD Code
Returns
- int
decimal
Dec2Bcd(int)
Decimal To BCD
public static byte Dec2Bcd(int dec)
Parameters
dec
intdecimal
Returns
- byte
BCD Code