--- title: "fromOctal" description: "Returns an integer value of the octal formatted string argument." --- # fromOctal > Returns an integer value of the octal formatted string argument. **This function is used by Ignition's Expression language.** ## Description Returns an integer value of the octal formatted string argument. Numbers outside of the range (-231) - (231-1), and strings that are not octal numbers, return null. ## Syntax `fromOctal(string)` - Parameters - string **string** - A string representation of an octal. - Results - int - The integer of the octal value. ## Examples ```python title="Code Snippet" fromOctal("77") //returns 63 ``` ```python title="Code Snippet" fromOctal("-77") //returns -63 ```