title: “Octal Number” author: “Pierre Laplante laplante@plcb.ca” date: “2023-12-12” version: “1.0.0” section: “1g”
An octal number can be specified using the prefix 0
.
Octal numbers are expressed in base 8, meaning their digits range from 0 to 7.
When evaluated, they are converted into their decimal (base 10) equivalent.
# Test a simple octal number
res={{
a := 0700;
a;
}}.
Output:
res=448.