This page is also available in 3 other languages

byte()

[Conversion]

Description

Converts a value to the byte data type.

Syntax

byte(x)
(byte)x (C-style type conversion)

Parameters

x: a value. Allowed data types: any type.

Returns

Data type: byte.

See also