| Index

| Reference for Wiring 1.0 (ALPHA) 0019+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name |  | ### byte()
Examples |  |
    byte b = byte(260);
Description |  | Converts a primitive datatype to its byte representation.
Syntax |  |
    byte(val)
Parameters |  |
val |  | int, long, float, char, byte or boolean
Returns |  | byte
Usage |  | Application
Related |  | byte int() long() float() char() boolean()