Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.59 byte

byte(x)

byte, x [, …]

Converts the arguments to data type byte by truncating at the decimal point (if any) and then discarding all but the least significant byte. The function returns a converted copy and leaves x itself alone. The subroutine modifies x itself.

See also: Number Conversion