Mwnci oct2dec() Function

Syntax

oct2dec(string|number)

Description

The oct2dec() function returns decimal equivalent of an octal number.

Example

println(oct2dec("20"))
println(oct2dec(20))


16
16