Binary-coded decimal (BCD) class
More...
Binary-coded decimal (BCD) class
◆ FromByte()
| static byte Energy.Base.Bcd.FromByte |
( |
byte |
value | ) |
|
|
static |
Convert byte to BCD value
- Parameters
-
- Returns
- BCD value
◆ FromWord()
| static ushort Energy.Base.Bcd.FromWord |
( |
ushort |
value | ) |
|
|
static |
Convert word to BCD value
- Parameters
-
- Returns
◆ ToByte()
| static byte Energy.Base.Bcd.ToByte |
( |
byte |
value | ) |
|
|
static |
Convert BCD value to byte
- Parameters
-
- Returns
- Byte value
◆ ToWord()
| static ushort Energy.Base.Bcd.ToWord |
( |
ushort |
value | ) |
|
|
static |
Convert BCD value to word
- Parameters
-
- Returns
- Word value
The documentation for this class was generated from the following file: