title: “Hexadecimal Number” author: “laplante@plcb.ca” date: 2023-01-01 version: “1.0.0” section: “1g”
A hexadecimal number is specified with the prefix 0x
.
Hexadecimal literals allow representation of numbers in base-16, using digits 0–9
and letters A–F
(case-insensitive).
# test a simple hexadecimal number
res={{
a := 0xaBc;
a;
}}
return:
res=2748