BINARY/NUMBER 1g 2023-04-13 laplante@plcb.ca GOWEB/Language

title: “BINARY/NUMBER” author: “laplante@plcb.ca” date: 2023-04-13 version: “1.0.0”

category: “GOWEB/Language”

BINARY/NUMBER

Description

A binary number can be specified with the prefix 0b.

Example

# test a simple binary number
res={{
    a := 0b101;
    a;
}}

return:

res=5