Converts 8-bit unsigned integer presented as one byte to a number. A result of the conversion will be between 0.00 and 255.00.
u8-to-number
@/u8-to-number
Converts 8-bit unsigned integer presented as one byte to a number. A result of the conversion will be between 0.00 and 255.00.
node {
void evaluate(Context ctx) {
uint8_t num = getValue<input_IN>(ctx);
Number result = (Number)num;
emitValue<output_OUT>(ctx, result);
}
}
IN | OUT |
FFh | 255.00 |
7Fh | 127.00 |
00h | 0.00 |