# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English version of the page.

# oct

Octal representation of stored integer of `fi` object

## Syntax

```oct(a) ```

## Description

`oct(a)` returns the stored integer of `fi` object `a` in octal format. `oct(a)` is equivalent to `a.oct`.

Fixed-point numbers can be represented as

`$real\text{-}worldvalue={2}^{-fractionlength}×storedinteger$`

or, equivalently as

`$real\text{-}worldvalue=\left(slope×storedinteger\right)+bias$`

The stored integer is the raw binary number, in which the binary point is assumed to be at the far right of the word.

## Examples

The following code

```a = fi([-1 1],1,8,7); y = oct(a) z = a.oct```

returns

```y = 200 177 z = 200 177```