u8-to-number

xod/bits/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.
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.
INbyte
u8-to-number
IN
OUT
OUTnumber

C++ implementation

node {
    void evaluate(Context ctx) {
        uint8_t num = getValue<input_IN>(ctx);
        Number result = (Number)num;
        emitValue<output_OUT>(ctx, result);
    }
}

Tabular tests

INOUT
FFh255.00
7Fh127.00
00h0.00