Function Block DEC2OCT

The Function Block DEC2OCT converts a decimal value to an octal value.

Input

The input expects a string or a number. The value must be a decimal value. For example, "255". Leading zeros are irrelevant.

Output

The output returns the octal number as an integer without leading zeros.