Syntax
bin2dec(binary number)
Description
The bin2dec() function returns the equivalent decimal number, or false if the given number is not binary.
Example
include("main") println(bin2dec("0b11111")) println(bin2dev(11111)) println(bin2dec("11111")) 31 31 31