numToByte

Returns the byte corresponding to a numeric value in the range 0-255.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 4.0 Security:

# Syntax

the numToByte of numericValue

# Params

- numericValue : An <integer> between zero and 255, or an <expression> that <evaluate|evaluates> to such an <integer>.

# Examples

numToByte(65) -- returns a byte with numeric value 65

numToByte(0) -- returns a byte with numeric value 0

# Description

Use the byteToNum function to translate numbers into their byte equivalents, or to interpret a byte (such as a control character) that can't be displayed.

The numToByte function is the inverse of the byteToNum function.

# Tags

# See