Syntax
oct2dec(string|number)
Description
The oct2dec() function returns decimal equivalent of an octal number.
Example
println(oct2dec("20")) println(oct2dec(20)) 16 16
oct2dec(string|number)
The oct2dec() function returns decimal equivalent of an octal number.
println(oct2dec("20")) println(oct2dec(20)) 16 16